The same code works locally, but when deployed on Streamlit Cloud, it’s unable to read information from the local cache.
import streamlit as st
test = st.text_input("input:")
This is on localhost:
There seems to be a related post here that provides a working implementation, could you see if you can adapt that and if it works for you: Interact with local storage · Issue #5105 · streamlit/streamlit · GitHub
After changing it to time.sleep(3), it succeeded.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.