Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|