Can we cache library imports?

Hi everyone,

Do you know if there is a way to cache library imports across all sessions? (With st.experimental_singleton or with something else, whatever works.)

I am asking because the libraries I use take several seconds to be imported when the app first loads, and ideally I would like them cached and ready to use by other sessions.

Thanks in advance!

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