mskov commited on
Commit
41ca77f
1 Parent(s): fb856de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks() as iface:
41
  aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File"),
42
  with gr.Row():
43
  text = gr.Textbox(label="Enter Text", placeholder="Enter text here..."),
44
- submit_btn = gr.Button(label="Submit", type="submit")
45
  radio = gr.Radio(available_models, type="value", label="Select Model")
46
  out_text = gr.Textbox()
47
  submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text, radio], outputs=out_text)
 
41
  aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File"),
42
  with gr.Row():
43
  text = gr.Textbox(label="Enter Text", placeholder="Enter text here..."),
44
+ submit_btn = gr.Button(label="Submit")
45
  radio = gr.Radio(available_models, type="value", label="Select Model")
46
  out_text = gr.Textbox()
47
  submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text, radio], outputs=out_text)