Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -893,7 +893,7 @@ def main():
|
|
893 |
|
894 |
#Experiment: Use `st.session_state` to store the transcript
|
895 |
|
896 |
-
@st.
|
897 |
def set_transcript(text):
|
898 |
"""Set transcript in session state."""
|
899 |
st.session_state.voice_transcript = text
|
|
|
893 |
|
894 |
#Experiment: Use `st.session_state` to store the transcript
|
895 |
|
896 |
+
@st.memo
|
897 |
def set_transcript(text):
|
898 |
"""Set transcript in session state."""
|
899 |
st.session_state.voice_transcript = text
|