For a real time sharing of cache data, streamlit provides some caching primitives but they are frankly hard to use.
I was wondering if gradio has a feature that is similar that would let it store data possibly in pycache as users interact. It would need a reloader function which I believe would work well with the gradio live feature.
Any chance you could let us know how that could be done with pycache or similar? I can do it easily with saved text files but wanted something that might be able to store chat lines and then have a periodic reload so all users connected to a host could see and share, even delete and modify the data.
My example with text files is here:
Thanks!
–Aaron