Spaces:
Running
Running
Update app.py
Browse files
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
|
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")
|