awacke1 commited on
Commit
08c24f3
·
verified ·
1 Parent(s): 1cbafaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -834,11 +834,11 @@ def main():
834
  st.session_state.voice_transcript = ""
835
 
836
  # Display speech recognition component and capture returned value
837
- transcript = st.components.v1.html(speech_recognition_html, height=400)
838
 
839
  # Update session state if there's new data
840
- if transcript is not None and transcript != "":
841
- st.session_state.voice_transcript = transcript
842
 
843
  # Display the transcript in a Streamlit text area
844
  # st.markdown("### Processed Voice Input:")
 
834
  st.session_state.voice_transcript = ""
835
 
836
  # Display speech recognition component and capture returned value
837
+ #transcript = st.components.v1.html(speech_recognition_html, height=400)
838
 
839
  # Update session state if there's new data
840
+ #if transcript is not None and transcript != "":
841
+ # st.session_state.voice_transcript = transcript
842
 
843
  # Display the transcript in a Streamlit text area
844
  # st.markdown("### Processed Voice Input:")