Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
sanjay-kv merged 3 commits into recodehive:main from revanth1718:main
Jun 7, 2024
Merged

Fixed the streamlit app #276

sanjay-kv merged 3 commits into recodehive:main from revanth1718:main
Jun 7, 2024

Conversation

@revanth1718
Copy link
Member

@revanth1718 revanth1718 commented Jun 6, 2024

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
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
Copy link
Member Author

revanth1718 commented Jun 7, 2024
edited
Loading

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

Reviewers

@sanjay-kv sanjay-kv sanjay-kv approved these changes

Labels

bug Something isn't working gssoc level1

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /