awacke1 commited on
Commit
78de31d
·
verified ·
1 Parent(s): b236e76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -985,7 +985,9 @@ def main():
985
  transcript = st.components.v1.html(speech_recognition_html, height=400)
986
 
987
  # Update session state if there's new data
988
- if transcript is not None and transcript != "":
 
 
989
  st.session_state.voice_transcript = transcript
990
 
991
  # Display the transcript in a Streamlit text area
 
985
  transcript = st.components.v1.html(speech_recognition_html, height=400)
986
 
987
  # Update session state if there's new data
988
+ showTranscript=false
989
+ if showTranscript:
990
+ #transcript is not None and transcript != "":
991
  st.session_state.voice_transcript = transcript
992
 
993
  # Display the transcript in a Streamlit text area