How to optimize work of Streamlit website?

Hello,

I’ve prepared a very nice Streamlit website to calculate my LSTM models remotely. But this page works only when I look at it. Doesn’t want to work in shadow. What should I do ?

KR

Michał

Hey @Mike7205 ,
Could you elaborate what you mean by this page works only when I look at it. Doesn’t want to work in shadow?

Hello SiddhantSadangi,
Well this page is just console build to run my LSTM models. One model needs around 20 Minutes to learn. That’s why I don’t need to look at this page for 20 Minutes waiting for results.

śr., 21 sie 2024, 22:12 użytkownik Siddhant Sadangi via Streamlit <notifications@streamlit.discoursemail.com> napisał:

A page’s script only runs when the page is active. Navigating away will trigger a complete rerun of the app.
This should help: Working with widgets in multipage apps - Streamlit Docs

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.