Replies: 2 comments
-
To enable hot reloading for your project, which allows you to see changes in real-time without restarting the application, you can leverage the built-in capabilities of Streamlit, assuming it's part of your project. Streamlit automatically refreshes your app in the browser when it detects changes to your Python script. This feature is particularly useful for debugging UI, interfaces, or business logic changes efficiently. Here's a quick guide to make the most out of Streamlit's hot reloading:
Ensure you're running your Streamlit app with
|
Beta Was this translation helpful? Give feedback.
-
研究了一下streamlit,原来本来就内置了,学习到了 |
Beta Was this translation helpful? Give feedback.
-
目前每次启动都是python3 ./startup.py -a 这个命令
我想对ui,或者接口,业务逻辑做调整,都必须shutdown后重新执行上述命令
有没有热重载的方式来进行调试呢?
谢谢各位大佬
Beta Was this translation helpful? Give feedback.
All reactions