DHEIVER commited on
Commit
2ed3244
·
1 Parent(s): 0acd1c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,11 +43,12 @@ def classify_image_with_overlay(img):
43
  iface = gr.Interface(
44
  fn=classify_image_with_overlay,
45
  inputs=gr.inputs.Image(),
46
- outputs=gr.outputs.Image(),
47
  live=True,
48
  title="ViT Image Classifier with Overlay",
49
  description="Upload an image for classification with label overlay.",
50
  )
51
 
 
52
  if __name__ == "__main__":
53
  iface.launch()
 
43
  iface = gr.Interface(
44
  fn=classify_image_with_overlay,
45
  inputs=gr.inputs.Image(),
46
+ outputs=gr.outputs.Image(type="numpy"),
47
  live=True,
48
  title="ViT Image Classifier with Overlay",
49
  description="Upload an image for classification with label overlay.",
50
  )
51
 
52
+
53
  if __name__ == "__main__":
54
  iface.launch()