Closed revanth1718 closed 3 weeks ago
π Your pull request has been successfully merged! π Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! π
I have successfully deployed https://rev-analysis.streamlit.app/
solves Issue #267
The issue where the Streamlit app was not working due to incorrect file paths when deployed on Streamlit Cloud.
Changes Made:
Updated the file paths to include the streamlit/ directory prefix, ensuring the app works correctly when deployed on Streamlit Cloud.
Example of the path change: From: df2020.csv To: streamlit/df2020.csv
Important Instructions for Contributors:
Do not change the file paths in the main repository: The paths should remain with the streamlit/ prefix to ensure compatibility with Streamlit Cloud. Running Locally: When running the app on a local machine, you may need to remove the streamlit/ prefix from the file paths. However, these changes should not be committed to the main repository. Ensure any local changes for running the app are not pushed to the main repository to avoid breaking the deployment.
Working model
After my changes , i have successfully deployed on Streamlit Cloud as you can see in the below video:
https://github.com/Recode-Hive/Stackoverflow-Analysis/assets/109272714/527d4e74-047d-46dd-8bec-32404ed9dd70
sir, i deleted this app in my account so you can paste the home.py as the main module while deploying as shown below: