Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -21,6 +21,10 @@ def transcribe(audio):
|
|
21 |
|
22 |
return result
|
23 |
|
|
|
|
|
24 |
app = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="microphone", type="filepath"), outputs="textbox")
|
|
|
|
|
25 |
|
26 |
-
|
|
|
21 |
|
22 |
return result
|
23 |
|
24 |
+
demo = gr.Blocks()
|
25 |
+
|
26 |
app = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="microphone", type="filepath"), outputs="textbox")
|
27 |
+
with demo:
|
28 |
+
gr.TabbedInterface([app], "Mic")
|
29 |
|
30 |
+
demo.launch()
|