Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|