Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def plot_toxicity(comment):
|
|
65 |
demo = gr.Interface(
|
66 |
fn=plot_toxicity,
|
67 |
inputs=gr.Textbox(label="Enter a comment"),
|
68 |
-
outputs=gr.Image(type="
|
69 |
title="Toxicity Detector",
|
70 |
description="Enter a comment to analyze its toxicity scores across different categories.",
|
71 |
)
|
|
|
65 |
demo = gr.Interface(
|
66 |
fn=plot_toxicity,
|
67 |
inputs=gr.Textbox(label="Enter a comment"),
|
68 |
+
outputs=gr.Image(type="filepath", label="Toxicity Analysis"),
|
69 |
title="Toxicity Detector",
|
70 |
description="Enter a comment to analyze its toxicity scores across different categories.",
|
71 |
)
|