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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ def classify_toxicity(audio_file, text_input, selected_model):
38
 
39
  with gr.Blocks() as iface:
40
  with gr.Column():
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()
 
38
 
39
  with gr.Blocks() as iface:
40
  with gr.Column():
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()