-
Notifications
You must be signed in to change notification settings - Fork 121
Fixed the streamlit app #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sanjay-kv
sanjay-kv
approved these changes
Jun 7, 2024
🎉 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/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
app.1.mp4
sir, i deleted this app in my account so you can paste the home.py as the main module while deploying as shown below:
Screenshot (573)