HyperX-Sentience commited on
Commit
aae82fc
·
verified ·
1 Parent(s): 4acd2a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file", label="Toxicity Analysis"),
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
  )