Dileep7729 commited on
Commit
79a79b0
·
verified ·
1 Parent(s): 99a6b24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def classify_image(image):
74
  iface = gr.Interface(
75
  fn=classify_image,
76
  inputs=gr.Image(type="pil"),
77
- outputs=gr.Plot(label="Output"),
78
  title="Content Safety Classification",
79
  description="Upload an image to classify it as 'safe' or 'unsafe' with corresponding probabilities.",
80
  )
 
74
  iface = gr.Interface(
75
  fn=classify_image,
76
  inputs=gr.Image(type="pil"),
77
+ outputs=gr.Text(label="Output"),
78
  title="Content Safety Classification",
79
  description="Upload an image to classify it as 'safe' or 'unsafe' with corresponding probabilities.",
80
  )