Antoine245 commited on
Commit
f5f2a5b
·
1 Parent(s): a02cd44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,7 +17,8 @@ gr.Interface(
17
  inputs=[
18
  gr.inputs.Image(label="Image to classify", type="pil"),
19
  ],
20
- outputs=gr.outputs.Label(), # Use Label output instead of JSON
 
21
  title="Image Classifier",
22
  description=description
23
  ).launch()
 
17
  inputs=[
18
  gr.inputs.Image(label="Image to classify", type="pil"),
19
  ],
20
+ clear = gr.ClearButton([inputs]),
21
+ outputs=gr.outputs.Label(),
22
  title="Image Classifier",
23
  description=description
24
  ).launch()