Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -222,9 +222,11 @@ if component:
|
|
222 |
data = component
|
223 |
if isinstance(data, dict) and data.get('type') == 'transcript':
|
224 |
st.session_state.transcript_history.append(data['text'])
|
225 |
-
st.experimental_rerun()
|
|
|
226 |
elif isinstance(data, dict) and data.get('type') == 'clear':
|
227 |
st.session_state.transcript_history = []
|
228 |
-
st.experimental_rerun()
|
|
|
229 |
except Exception as e:
|
230 |
st.error(f"Error processing transcript: {e}")
|
|
|
222 |
data = component
|
223 |
if isinstance(data, dict) and data.get('type') == 'transcript':
|
224 |
st.session_state.transcript_history.append(data['text'])
|
225 |
+
#st.experimental_rerun()
|
226 |
+
st.rerun()
|
227 |
elif isinstance(data, dict) and data.get('type') == 'clear':
|
228 |
st.session_state.transcript_history = []
|
229 |
+
#st.experimental_rerun()
|
230 |
+
st.rerun()
|
231 |
except Exception as e:
|
232 |
st.error(f"Error processing transcript: {e}")
|