Spaces:
Runtime error
Runtime error
kurianbenoy
commited on
Commit
•
17c370b
1
Parent(s):
f21fcbc
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,9 @@ def end2endpipeline(filename):
|
|
68 |
|
69 |
demo = gradio.Interface(
|
70 |
fn=end2endpipeline,
|
71 |
-
inputs=gradio.inputs.
|
|
|
|
|
72 |
outputs=gradio.outputs.Label(num_top_classes=5),
|
73 |
**interface_options,
|
74 |
)
|
|
|
68 |
|
69 |
demo = gradio.Interface(
|
70 |
fn=end2endpipeline,
|
71 |
+
inputs=gradio.inputs.Audio(
|
72 |
+
source="microphone", type="filepath", label="Record/ Drop audio"
|
73 |
+
),
|
74 |
outputs=gradio.outputs.Label(num_top_classes=5),
|
75 |
**interface_options,
|
76 |
)
|