mskov commited on
Commit
b7003ec
·
1 Parent(s): b65fb2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def classify_toxicity(audio_file, text_input, selected_model):
39
  iface = gr.Interface(
40
  fn=classify_toxicity,
41
  inputs=[
42
- gr.Audio(source="upload", type="filepath", label="Upload Audio File"), "text",
 
43
  gr.Radio(available_models, type="value", label="Select Model")
44
  ],
45
  outputs="text",
 
39
  iface = gr.Interface(
40
  fn=classify_toxicity,
41
  inputs=[
42
+ gr.Audio(source="upload", type="filepath", label="Upload Audio File"),
43
+ gr.Textbox(type="text", label="Enter Text", placeholder="Enter text here..."),
44
  gr.Radio(available_models, type="value", label="Select Model")
45
  ],
46
  outputs="text",