Is it possible to change the path of the python script which has the streamlit code in the deployed version? Or do I have to create new app? My current app has a lot of viewers and I want to retain it, while changing the path of the streamlit app.
Unfortunately it’s not possible to do this without re-deploying your app. However, you should be able to keep your subdomain.
-
Rename Script: Change the name of your existing Streamlit script to the desired name, for example, from
old_app.py
tonew_app.py
. -
Redeploy: Deploy the updated script by pushing changes to your Git repository (if using GitHub) or uploading the script through the Streamlit sharing interface.
-
Update Links: After redeployment, your app will be accessible at the new path based on the updated script name. Update any links or references to your Streamlit app to reflect the new URL.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.