Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,5 +8,5 @@ def func(audio_):
|
|
8 |
val=listen_client.automatic_speech_recognition(audio_).text
|
9 |
return val
|
10 |
|
11 |
-
gr.Interface(fn=func, inputs=gr.Audio(sources=["microphone"]), outputs=gr.Text()).launch()
|
12 |
|
|
|
8 |
val=listen_client.automatic_speech_recognition(audio_).text
|
9 |
return val
|
10 |
|
11 |
+
gr.Interface(fn=func, inputs=gr.Audio(sources=["microphone"], type="filepath"), outputs=gr.Text()).launch()
|
12 |
|