Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,13 +22,12 @@ def predict_image(img):
|
|
| 22 |
|
| 23 |
return predicted_label
|
| 24 |
|
| 25 |
-
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=predict_image,
|
| 28 |
-
inputs=gr.Image(
|
| 29 |
-
outputs=gr.Label(
|
| 30 |
-
title="
|
| 31 |
-
description="
|
| 32 |
)
|
| 33 |
|
| 34 |
iface.launch()
|
|
|
|
| 22 |
|
| 23 |
return predicted_label
|
| 24 |
|
|
|
|
| 25 |
iface = gr.Interface(
|
| 26 |
fn=predict_image,
|
| 27 |
+
inputs=gr.Image(label="Sube una imagen"),
|
| 28 |
+
outputs=gr.Label(label="Resultado"),
|
| 29 |
+
title="Detector de Objetos con CNN",
|
| 30 |
+
description="Sube una imagen y el modelo CNN predecirá el objeto."
|
| 31 |
)
|
| 32 |
|
| 33 |
iface.launch()
|