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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,13 +23,13 @@ app1 = gr.Interface(
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__":
35
  demo.launch()
 
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(title=title, [app1, app2], ["Audio File", "Microphone"])
33
 
34
  if __name__ == "__main__":
35
  demo.launch()