Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ iface = gr.Interface(
|
|
| 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"]],
|
| 36 |
)
|
| 37 |
|
| 38 |
# Launch the interface
|
|
|
|
| 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
|