JBHF commited on
Commit
d22ae6e
1 Parent(s): 7ea349a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def configure_microphone_input():
28
  st.write(f"{i+1}. {device['name']}")
29
  # Select the desired input device
30
  # device_index = st.number_input("Enter the index of the input device you want to use:", min_value=1, max_value=len(input_devices), value=1, step=1) - 1
31
- device_index = st.number_input("Enter the index of the input device you want to use:", min_value=0, max_value=len(input_devices), value=0, step=1) - 1
32
 
33
  # Configure the microphone input
34
  stream = audio.open(format=pyaudio.paInt16,
 
28
  st.write(f"{i+1}. {device['name']}")
29
  # Select the desired input device
30
  # device_index = st.number_input("Enter the index of the input device you want to use:", min_value=1, max_value=len(input_devices), value=1, step=1) - 1
31
+ device_index = 0 # st.number_input("Enter the index of the input device you want to use:", min_value=0, max_value=len(input_devices), value=0, step=1) - 1
32
 
33
  # Configure the microphone input
34
  stream = audio.open(format=pyaudio.paInt16,