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