Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def main():
|
|
112 |
|
113 |
if audio_data:
|
114 |
st.audio(audio_data.frame_data, format="audio/wav")
|
115 |
-
audio_text = recognize_speech(device_index=
|
116 |
if audio_text:
|
117 |
output, audio_file = generate(audio_text, history=st.session_state.history)
|
118 |
|
|
|
112 |
|
113 |
if audio_data:
|
114 |
st.audio(audio_data.frame_data, format="audio/wav")
|
115 |
+
audio_text = recognize_speech(device_index=device_index)
|
116 |
if audio_text:
|
117 |
output, audio_file = generate(audio_text, history=st.session_state.history)
|
118 |
|