Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -21,6 +21,6 @@ def transcribe(audio):
|
|
21 |
|
22 |
return result
|
23 |
|
24 |
-
app = gr.Interface(transcribe, gr.Audio(
|
25 |
|
26 |
app.launch()
|
|
|
21 |
|
22 |
return result
|
23 |
|
24 |
+
app = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="microphone", type="filepath"), outputs="textbox")
|
25 |
|
26 |
app.launch()
|