Manage your app
You can manage your deployed app from your workspace at share.streamlit.io or directly from <your-custom-subdomain>.streamlit.app
. You can view, deploy, delete, reboot, or favorite an app.
Manage your app from your workspace
Streamlit Community Cloud is organized into workspaces, which automatically group your apps according to the corresponding GitHub repository's owner. Your workspace is indicated in the upper-right corner. You will have one workspace that matches your GitHub username and additional workspaces for any GitHub organization or user who has granted you access.
Additionally, if you have view-only access to an app, you will be able to see that app's workspace. When you do not have developer access to an app, your management options for that app will be restricted as shown in the following sections.
To deploy or manage any app, always switch to the workspace matching the repository's owner first.
At the top of your workspace, "Analytics" is a shortcut to App analytics and "Settings" links to your Workspace settings (not to be confused with App settings for each of your apps).
App overflow menus
Each app has a menu accessible from the overflow icon (more_vert) to the right.
- Copy URL — See Copy your app's URL
- Edit — See Edit your app with GitHub Codespaces
- Favorite — See Favorite your app
- Analytics — See App analytics
- Reboot — See Reboot your app
- Delete — See Delete your app
- Settings — See App settings
If you have view-only access to an app, options will be restricted in that app's menu.
Manage your app directly from your app
You can manage your deployed app directly from the app itself! Just make sure you are signed in to Streamlit Community Cloud then visit your app.
Streamlit Community Cloud logs
-
From your app at
<your-custom-subdomain>.streamlit.app
, click "Manage app" in the lower-right corner. -
Once you've clicked on "Manage app", you will be able to view your app's logs. This is your primary place to troubleshoot any issues with your app.
-
You can access more developer options by clicking the overflow icon (more_vert) at the bottom of your Cloud logs. To conveniently download your logs, click "Download log".
Other options accessible from Cloud logs are:
- Analytics — See App analytics.
- Reboot app — See Reboot your app.
- Delete app — See Delete your app.
- Settings — See App settings.
- Your apps — Takes you to your app workspace.
- Documentation — Takes you to our documentation.
- Support — Takes you to our forums!
App menus
From your app at <your-custom-subdomain>.streamlit.app
, you can always access your app's menu just like you can when developing locally. The option to deploy your app is removed, but you can still clear your cache from here.
Manage your app in GitHub
Update your app
Your GitHub repository is the source for the app, so that means that any time you push an update to your repo you'll see it reflected in the app in almost real time. Try it out!
Streamlit also smartly detects whether you touched your dependencies, in which case it will automatically do a full redeploy for you—which will take a little more time. But since most updates don't involve dependency changes, you should usually see your app update in real time.
Add or remove dependencies
You can add/remove dependencies at any point by updating requirements.txt
(Python dependenciess) or packages.txt
(Linux dependencies) and committing the changes to your repository on GitHub. This will cause Streamlit Community Cloud to detect there was a change in your dependencies and automatically trigger (re)installation.
It is best practice to pin your Streamlit version in requirements.txt
. Otherwise, the version may be auto-upgraded at any point without your knowledge, which could lead to undesired results (e.g. when we deprecate a feature in Streamlit).
App resources and limits
Resource limits
All Streamlit Community Cloud users have access to the same resources and are subject to the same limits. These limits may change at any time without notice. If your app meets or exceeds its limits, it may slow down from throttling or become nonfunctional. The limits as of February 2024 are approximately as follows:
- CPU: 0.078 cores minimum, 2 cores maximum
- Memory: 690MB minimum, 2.7GBs maximum
- Storage: No minimum, 50GB maximum
Symptoms that your app is running out of resources include the following:
- Your app is running slowly.
- Your app displays "🤯 This app has gone over its resource limits."
- Your app displays "😦 Oh no."
Good for the world
Streamlit offers increased resources for apps with good-for-the-world use cases. Generally, these apps are used by an educational institution or nonprofit organization, are part of an open-source project, or benefit the world in some way. If your app is not primarily used by a for-profit company you can apply for increased resources.
Optimizing your app
If your app is running slow or showing the error pages mentioned above, we first highly recommend going through and implementing the suggestions in the following blog posts to prevent your app from hitting the resource limits and to detect if your Streamlit app leaks memory:
If your app exceeds its resource limits, developers and viewers alike will see "😦 Oh no."
If see "😦 Oh no." when viewing your app, first check your Cloud logs for any specific errors. If there are no errors in your Cloud logs you are likely dealing with a resource issue.
Developer view
If you are logged into a developer account for an app over its limits, you can access "Manage app" from the lower-right corner of the app to reboot it and clear its memory. "Manage app" will be red and have a warning icon (error).
App hibernation
All apps without traffic for 7 consecutive days will automatically go to sleep. This is done to alleviate resources and allow the best communal use of the platform! If you would like to keep your app awake, simply visit the app to create traffic or commit your app's repository, even if it's an empty commit!
If left alone your app will go to sleep at the 7 day mark. When someone visits the app after this, they will see the sleeping page:
To wake the app up, click "Yes, get this app back up!" This can be done by anyone who has access to view the app, not just the app developer!
You can see which of your apps are asleep from your workspace. Sleeping apps have a moon icon (bedtime) to the right.
Still have questions?
Our forums are full of helpful information and Streamlit experts.