hexular commited on
Commit
24e0e26
1 Parent(s): c51057a
Files changed (1) hide show
  1. app.py +5 -1
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
- app.launch()
 
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()