Skip to content
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

Fixed the streamlit app #276

Merged
merged 3 commits into from
Jun 7, 2024
Merged

Fixed the streamlit app #276

merged 3 commits into from
Jun 7, 2024

Conversation

revanth1718
Copy link
Member

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)

@sanjay-kv sanjay-kv merged commit 3f9067c into recodehive:main Jun 7, 2024
1 check passed
Copy link

github-actions bot commented 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! 🚀

@sanjay-kv sanjay-kv added bug Something isn't working gssoc level1 labels Jun 7, 2024
@revanth1718
Copy link
Member Author

revanth1718 commented Jun 7, 2024

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
Labels
bug Something isn't working gssoc level1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants