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

Add Streamlit app for UI #44

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Add Streamlit app for UI #44

merged 1 commit into from
Apr 23, 2024

Conversation

dhirajraut1
Copy link
Contributor

@dhirajraut1 dhirajraut1 commented Apr 22, 2024

This PR is for

  • New Feature
  • Bug Fix
  • Enhancement
  • Code Refactor

PR Description

What does this PR do?

This PR adds the ability to calculate and view the generated data for non-technical users. The PR uses Streamlit to make the UI and show the data generated.

Features added

i. Upload files
ii. View uploaded files
iii. View calculated exam centers

Screenshots/Recordings

Demo Video: https://share.vidyard.com/watch/PrAWqnqHyY6RRmSXdamhFL

image
image
image

Added dependencies
i. streamlit==1.33.0

Breaking changes
None

Additional Notes

  • This PR is inspired from this PR by Aashutosh Kattel
  • To run locally execute the following command:
    streamlit run app.py

Final Checklist

  • I've run the code and it worked well on my machine
  • I've read the contribution doc and this satisfies the conditions

@sapradhan
Copy link
Collaborator

this looks excellent. few asks for you -

  • new to streamlit, seems like a hosted service. how is deployment handled? Can moest have its "official" deployment ?
  • can you add input fields so that the parameters can be modified from UI itself ?

@dhirajraut1
Copy link
Contributor Author

this looks excellent. few asks for you -

  • new to streamlit, seems like a hosted service. how is deployment handled? Can moest have its "official" deployment ?

Thank you. I'm working on other features such as filtering and maps as of now.
About deployment:

  • You can deploy it on streamlit cloud itself. OR
  • You can deploy it on private server as well.
  • For running locally, you can just install the requirements and run streamlit run app.py from the terminal
  • can you add input fields so that the parameters can be modified from UI itself ?

I was thinking of doing something like this. I could work on this on my free time. Seems like cool thing to work on

@sumanashrestha
Copy link
Collaborator

Thank you @dhirajraut1 and @aashu-kattel.
Merging this one as the demo and interface is more compelling.

streamlit seems to be a better alternative to google collab (#14)
see if you can help out with map enhancements (#9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants