salomonsky commited on
Commit
fa0dad8
·
verified ·
1 Parent(s): e5219d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ pre_prompt_sent = False
13
 
14
  def take_user_input():
15
  r = sr.Recognizer()
16
- with sd.InputStream(callback=lambda indata, frames, time, status: None):
17
  with sr.Microphone() as source:
18
  st.info('Escuchando...')
19
  r.pause_threshold = 1
 
13
 
14
  def take_user_input():
15
  r = sr.Recognizer()
16
+ with sd.InputStream(device="1", callback=lambda indata, frames, time, status: None):
17
  with sr.Microphone() as source:
18
  st.info('Escuchando...')
19
  r.pause_threshold = 1