Commit
·
a9e18e8
1
Parent(s):
e85a182
Update app.py
Browse files
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.
|
38 |
-
gr.
|
39 |
],
|
40 |
-
outputs=gr.
|
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 |
|