How to make two DL Model in multi page

I would like to implement the LSTM model and the NeuralPropet model as multi-page in streamlet. Each model executes stock price prediction.

I tried to create a multi-page app by modularizing each app. Two prediction algorithms and the main page are configured as navigation bars for multi-page.

But, two models are implemented in order on one page. Multipage cannot bring my prediction algorithm and main homepage. How do I solve this?


Or you could use the most mature multi-page framework for Streamlit, Hydralit , with animated menu, extensive code examples and the ability to customise your session state and even use login and security.

See a live demo here with full source code, this example has multiple DL models as part of the examples, as the conversion process is simple.