Tlanextli commited on
Commit
7c90d11
·
1 Parent(s): 3175a4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -22,11 +22,13 @@ app1 = gr.Interface(
22
 
23
 
24
  app2 = gr.Interface(
25
- fn=transcribeMic,
26
- inputs="microphone",
27
  outputs="text"
28
  )
29
 
 
 
30
  demo = gr.TabbedInterface([app1, app2], ["Audio File", "Microphone"])
31
 
32
  if __name__ == "__main__":
 
22
 
23
 
24
  app2 = gr.Interface(
25
+ fn=transcribeFile,
26
+ inputs=gr.Audio(source="microphone", type="filepath")
27
  outputs="text"
28
  )
29
 
30
+
31
+ title = "Speech to text for German"
32
  demo = gr.TabbedInterface([app1, app2], ["Audio File", "Microphone"])
33
 
34
  if __name__ == "__main__":