bhagatsuryainatom commited on
Commit
a9e18e8
·
1 Parent(s): e85a182

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,10 +34,10 @@ def gradio_interface(question, question_type):
34
  interface = gr.Interface(
35
  fn=gradio_interface,
36
  inputs=[
37
- gr.inputs.Textbox(label="Question"),
38
- gr.inputs.Dropdown(choices=["Type1", "Type2", "Type3"], label="Question Type")
39
  ],
40
- outputs=gr.outputs.Audio(type="wav"),
41
  live=True
42
  )
43
 
 
34
  interface = gr.Interface(
35
  fn=gradio_interface,
36
  inputs=[
37
+ gr.components.Textbox(label="Question"),
38
+ gr.components.Dropdown(choices=["Type1", "Type2", "Type3"], label="Question Type")
39
  ],
40
+ outputs=gr.components.Audio(type="numpy"),
41
  live=True
42
  )
43