Update app.py
Browse files
app.py
CHANGED
|
@@ -63,5 +63,6 @@ def predict(img):
|
|
| 63 |
# return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 64 |
|
| 65 |
# Creamos la interfaz y la lanzamos.
|
| 66 |
-
|
|
|
|
| 67 |
|
|
|
|
| 63 |
# return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 64 |
|
| 65 |
# Creamos la interfaz y la lanzamos.
|
| 66 |
+
|
| 67 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=[gr.outputs.Image(type="pil", label="Predicción")], examples=['color_154.jpg','color_155.jpg']).launch(share=False)
|
| 68 |
|