mskov commited on
Commit
b44113d
·
1 Parent(s): 6bfef5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def classify_toxicity(audio_file, text_input, selected_model):
36
  iface = gr.Interface(
37
  fn=classify_toxicity,
38
  inputs=[
39
- gr.Audio(source="upload", type="filepath", label="Upload Audio File"), text,
40
  gr.Radio(available_models, type="value", label="Select Model")
41
  ],
42
  outputs="text",
 
36
  iface = gr.Interface(
37
  fn=classify_toxicity,
38
  inputs=[
39
+ gr.Audio(source="upload", type="filepath", label="Upload Audio File"), "text",
40
  gr.Radio(available_models, type="value", label="Select Model")
41
  ],
42
  outputs="text",