ttt-tkmr commited on
Commit
c82da08
·
verified ·
1 Parent(s): b08b678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,7 +97,7 @@ def main(model):
97
  return predict_rf(input)
98
 
99
 
100
- with gr.Blocks() as demo:
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()