Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,10 @@ def transcribe(audio_filepath):
|
|
115 |
return output_text
|
116 |
|
117 |
|
118 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
119 |
|
120 |
iface.queue()
|
121 |
iface.launch()
|
|
|
115 |
return output_text
|
116 |
|
117 |
|
118 |
+
iface = gr.Interface(
|
119 |
+
fn=transcribe,
|
120 |
+
inputs=[gr.inputs.Audio(sources="microphone", type="filepath")],
|
121 |
+
outputs="text")
|
122 |
|
123 |
iface.queue()
|
124 |
iface.launch()
|