Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks() as iface:
|
|
137 |
submit_btn = gr.Button(label="Run")
|
138 |
with gr.Column():
|
139 |
out_val = gr.Textbox()
|
140 |
-
plot = gr.
|
141 |
out_text = gr.Textbox()
|
142 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text, anxiety_class, emo_class, explit_preference], outputs=[out_val, plot, out_text])
|
143 |
|
|
|
137 |
submit_btn = gr.Button(label="Run")
|
138 |
with gr.Column():
|
139 |
out_val = gr.Textbox()
|
140 |
+
plot = gr.BarPlot()
|
141 |
out_text = gr.Textbox()
|
142 |
submit_btn.click(fn=classify_toxicity, inputs=[aud_input, text, anxiety_class, emo_class, explit_preference], outputs=[out_val, plot, out_text])
|
143 |
|