salomonsky commited on
Commit
a64dfc8
·
verified ·
1 Parent(s): 186c492

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def text_to_speech(text, speed=1.3):
82
 
83
  def main():
84
  st.title("Chatbot de Voz a Voz")
85
- mic = sr.Microphone(device_index=2)
86
 
87
  if not audio_data.empty():
88
  st.audio(audio_data.export().read(), format="audio/wav")
 
82
 
83
  def main():
84
  st.title("Chatbot de Voz a Voz")
85
+ mic = sr.Microphone(device_index=-1)
86
 
87
  if not audio_data.empty():
88
  st.audio(audio_data.export().read(), format="audio/wav")