I have a use case where I need to run a recurring load of my data outside of the main script, but I want this to happen automatically.
I have two ways that I can think of to accomplish this:
- Execute the loading script that performs data load automatically when "streamlit run app.py "is run. This would require that this would happen without having to navigate to the page first from the browser.
- Execute the loading script as “python app.py”. However, this results in these kinds of errors:
2023-10-18 10:43:27.273 WARNING streamlit.runtime.caching.cache_data_api: No runtime found, using MemoryCacheStorageManager
2023-10-18 10:43:28.764 Session state does not function when running a script without
Is there a way to accomplish either of these solutions?