Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,11 +27,6 @@ def transcribe_audio(input_audio):
|
|
27 |
|
28 |
return transcription[0]
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
outputs="text",
|
34 |
-
live=True
|
35 |
-
)
|
36 |
-
|
37 |
-
iface.launch()
|
|
|
27 |
|
28 |
return transcription[0]
|
29 |
|
30 |
+
|
31 |
+
audio_input = gr.Audio(sources=["microphone"])
|
32 |
+
gr.Interface(fn=transcribe_audio, inputs=audio_input, outputs="text").launch()
|
|
|
|
|
|
|
|
|
|