Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ with gr.Blocks() as iface:
|
|
166 |
with gr.Column():
|
167 |
out_text = gr.Textbox(label="Transcribed Audio")
|
168 |
out_val = gr.Textbox(label="Overall Toxicity")
|
169 |
-
out_affirm = gr.Textbox(label="
|
170 |
out_class = gr.Label(label="Toxicity Class Breakdown")
|
171 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, anxiety_class, emo_class, explit_preference, sense_slider], outputs=[out_text, out_val, out_class, out_affirm])
|
172 |
|
|
|
166 |
with gr.Column():
|
167 |
out_text = gr.Textbox(label="Transcribed Audio")
|
168 |
out_val = gr.Textbox(label="Overall Toxicity")
|
169 |
+
out_affirm = gr.Textbox(label="Intervention")
|
170 |
out_class = gr.Label(label="Toxicity Class Breakdown")
|
171 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, anxiety_class, emo_class, explit_preference, sense_slider], outputs=[out_text, out_val, out_class, out_affirm])
|
172 |
|