Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def main(model):
|
|
97 |
return predict_rf(input)
|
98 |
|
99 |
|
100 |
-
with gr.
|
101 |
model = gr.Dropdown(choices=model_names),
|
102 |
fn = main,
|
103 |
inputs=[
|
@@ -108,6 +108,6 @@ with gr.Blocks() as demo:
|
|
108 |
],
|
109 |
live=True,
|
110 |
description="demo for Audio to question classifier"
|
111 |
-
|
112 |
|
113 |
-
demo.launch()
|
|
|
97 |
return predict_rf(input)
|
98 |
|
99 |
|
100 |
+
with gr.Interface(
|
101 |
model = gr.Dropdown(choices=model_names),
|
102 |
fn = main,
|
103 |
inputs=[
|
|
|
108 |
],
|
109 |
live=True,
|
110 |
description="demo for Audio to question classifier"
|
111 |
+
).launch(debug=True)
|
112 |
|
113 |
+
#demo.launch()
|