Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def classify_image(image):
|
|
| 19 |
# Define Gradio interface
|
| 20 |
iface = gr.Interface(
|
| 21 |
fn=classify_image,
|
| 22 |
-
inputs=gr.
|
| 23 |
outputs="text",
|
| 24 |
title="Geolocal StreetCLIP Classification",
|
| 25 |
description="Upload an image to classify using Geolocal StreetCLIP"
|
|
|
|
| 19 |
# Define Gradio interface
|
| 20 |
iface = gr.Interface(
|
| 21 |
fn=classify_image,
|
| 22 |
+
inputs=gr.Image(type="pil"),
|
| 23 |
outputs="text",
|
| 24 |
title="Geolocal StreetCLIP Classification",
|
| 25 |
description="Upload an image to classify using Geolocal StreetCLIP"
|