Hev832 commited on
Commit
60f15cf
·
verified ·
1 Parent(s): b1a3c2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,7 +31,8 @@ iface = gr.Interface(
31
  inputs=gr.Image(type="pil"), # Input is an image
32
  outputs=gr.Label(num_top_classes=3), # Output is a label with top 3 predictions
33
  title="Contextual Image Classification",
34
- description="Upload an image, and the model will classify it based on the context."
 
35
  )
36
 
37
  # Launch the interface
 
31
  inputs=gr.Image(type="pil"), # Input is an image
32
  outputs=gr.Label(num_top_classes=3), # Output is a label with top 3 predictions
33
  title="Contextual Image Classification",
34
+ description="Upload an image, and the model will classify it based on the context.",
35
+ examples = gr.Examples([["./example_1.jpeg"], ["./example_2.jpeg"]], image)
36
  )
37
 
38
  # Launch the interface