Replies: 3 comments
-
Hello, Streamsync doesn't continuously reload the script, so caching isn't needed like in Streamlit. You can use globals or store things in state. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see, all state variables live in memory. thanks for the clarification.
…On Sat, Sep 9, 2023, 3:28 AM Ramiro Medina ***@***.***> wrote:
Hello, Streamsync doesn't continuously reload the script, so caching isn't
needed like in Streamlit. You can use globals or store things in state.
—
Reply to this email directly, view it on GitHub
<#101 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQRSFTXW2VGPQKBV6VTTTXZQLBNANCNFSM6AAAAAA4QICPB4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
python has also amazing decorator to do exactly what you are doing in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While reading hello app main.py, I wonder how to indicate a function, data frame, image to be cached, similar to cache_data or cache_resource in streamlit?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions