Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def get_embedding(image_file):
|
|
18 |
# Interfaz Gradio para uso visual o programático (API)
|
19 |
iface = gr.Interface(
|
20 |
fn=get_embedding,
|
21 |
-
inputs=gr.Image(type="
|
22 |
outputs="json",
|
23 |
description="Microservicio para extraer embeddings de imágenes usando DINOv2."
|
24 |
)
|
|
|
18 |
# Interfaz Gradio para uso visual o programático (API)
|
19 |
iface = gr.Interface(
|
20 |
fn=get_embedding,
|
21 |
+
inputs=gr.Image(type="filepath"), # << cambia aquí
|
22 |
outputs="json",
|
23 |
description="Microservicio para extraer embeddings de imágenes usando DINOv2."
|
24 |
)
|