Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -985,7 +985,7 @@ def main():
|
|
985 |
transcript = st.components.v1.html(speech_recognition_html, height=400)
|
986 |
|
987 |
# Update session state if there's new data
|
988 |
-
showTranscript=
|
989 |
if showTranscript:
|
990 |
#transcript is not None and transcript != "":
|
991 |
st.session_state.voice_transcript = transcript
|
|
|
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
|