Abrahamau commited on
Commit
d9fcb9a
·
verified ·
1 Parent(s): ce4b66a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ tab2 = gr.Interface(
76
  textbox = gr.Textbox(value="good morning pineapple! looking very good very nice!")
77
  tab3 = gr.Interface(
78
  fn=text2speech,
79
- inputs=[textbox, "microphone"],
80
  outputs=["audio"],
81
  )
82
 
 
76
  textbox = gr.Textbox(value="good morning pineapple! looking very good very nice!")
77
  tab3 = gr.Interface(
78
  fn=text2speech,
79
+ inputs=[textbox, gr.Audio(sources=['upload', 'microphone'], type="path")],
80
  outputs=["audio"],
81
  )
82