Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def predict_image(image_input):
|
|
| 24 |
# Interfaz Gradio
|
| 25 |
iface = gr.Interface(
|
| 26 |
fn=predict_image,
|
| 27 |
-
inputs=gr.Image(type="
|
| 28 |
outputs=gr.Textbox(label="Predicci贸n de la clase"),
|
| 29 |
title="Clasificador de Frutas",
|
| 30 |
description="Sube una imagen de una fruta y el modelo predecir谩 qu茅 fruta es."
|
|
|
|
| 24 |
# Interfaz Gradio
|
| 25 |
iface = gr.Interface(
|
| 26 |
fn=predict_image,
|
| 27 |
+
inputs=gr.Image(type="filepath", label="Cargar imagen de fruta"),
|
| 28 |
outputs=gr.Textbox(label="Predicci贸n de la clase"),
|
| 29 |
title="Clasificador de Frutas",
|
| 30 |
description="Sube una imagen de una fruta y el modelo predecir谩 qu茅 fruta es."
|