Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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:")
|