Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,8 @@ with gr.Blocks() as iface:
|
|
30 |
with gr.Column():
|
31 |
aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File")
|
32 |
text = gr.Textbox(label="Enter Text", placeholder="Enter text here...")
|
33 |
-
submit_btn = gr.Button(label="
|
34 |
-
with
|
35 |
out_text = gr.Textbox()
|
36 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text], outputs=out_text)
|
37 |
|
|
|
30 |
with gr.Column():
|
31 |
aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File")
|
32 |
text = gr.Textbox(label="Enter Text", placeholder="Enter text here...")
|
33 |
+
submit_btn = gr.Button(label="Run")
|
34 |
+
with gr.Column():
|
35 |
out_text = gr.Textbox()
|
36 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text], outputs=out_text)
|
37 |
|