Reihaneh commited on
Commit
eac1a4c
·
1 Parent(s): 6f5a01e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -16,10 +16,15 @@ def transcribe(audio):
16
 
17
  demo = gr.Interface(
18
 
19
- title = title,
20
- transcribe,
21
- gr.Audio(sources=["upload"]),
22
- "text",
 
 
 
 
 
23
  )
24
 
25
  demo.launch()
 
16
 
17
  demo = gr.Interface(
18
 
19
+ #title = title,
20
+ #transcribe,
21
+ #gr.Audio(sources=["upload"]),
22
+ #"text",
23
+ fn=transcribe,
24
+ inputs=gr.Audio(sources=["upload"]),
25
+ outputs="text",
26
+ live=True,
27
+ title=title,
28
  )
29
 
30
  demo.launch()