• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Crypto Currency
  • Technology
  • Contact
NEO Share

NEO Share

Sharing The Latest Tech News

  • Home
  • Artificial Intelligence
  • Machine Learning
  • Computers
  • Mobile
  • Crypto Currency

Deploying a Web App with Streamlit Sharing

December 21, 2020 by systems

It’s time to deploy! You’ll see a page that looks like this.

This is the main landing page for deploying.

So we’ll specify a few things here. But you’ll notice that these fields auto-populate from your GitHub, including all public repositories, any branches therein, and .py files to be deployed (this will default to ‘streamlit_app.py’ but the dropdown will include your actual file names).

Specify the repo to be hosted.

I’ll select my Diabetes_Hospitalizations repo that includes a requirements.txt file already from my Heroku deployment. I’m only using my Master branch at the moment, but I’d recommend putting the deployment in its own branch.

Specify the main .py file to be deployed.

You can see my ‘web_app.py’ in the main file path dropdown.

NOTE: you should remove the leading ‘/’ from your main file path. This is a small bug at the moment because the repo dropdown will end with a ‘/’ and then the file will have two ‘//’ causing an error.

Filed Under: Machine Learning

Primary Sidebar

Stay Ahead: The Latest Tech News and Innovations

Cryptocurrency Market Updates: What’s Happening Now

Emerging Trends in Artificial Intelligence: What to Watch For

Top Cloud Computing Services to Secure Your Data

The Future of Mobile Technology: Recent Advancements and Predictions

Footer

  • Privacy Policy
  • Terms and Conditions

Copyright © 2025 NEO Share

Terms and Conditions - Privacy Policy