data-storyteller icon indicating copy to clipboard operation
data-storyteller copied to clipboard

autoreload with multipage

Open RensDimmendaal opened this issue 3 years ago • 2 comments

Hi Prakhar,

Thank you for the nice article and demo app with your multipage approach!

I noticed streamlit's autoreload functionality breaks with your approach and I made a small fix.

Perhaps its useful for you too. All you need to do is only include the page titles in the sidebar's select box. So make sure not to include the page functions.

You can see the changes here.

Best, Rens

RensDimmendaal avatar Feb 18 '22 11:02 RensDimmendaal

Thanks for raising the issue. I will check it out!

prakharrathi25 avatar Feb 20 '22 11:02 prakharrathi25

@RensDimmendaal Thanks for the fix! Ran into the same issue!

mpas avatar Apr 22 '22 17:04 mpas