salomonsky commited on
Commit
bfb9325
·
verified ·
1 Parent(s): ea1d8fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=device
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