Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,4 +103,4 @@ def predict(img_ruta):
|
|
| 103 |
# return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 104 |
|
| 105 |
# Creamos la interfaz y la lanzamos.
|
| 106 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(
|
|
|
|
| 103 |
# return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 104 |
|
| 105 |
# Creamos la interfaz y la lanzamos.
|
| 106 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(480, 640)), outputs=gr.inputs.Image(shape=(480, 640))).launch(share=False) #,examples=['color_155.jpg','color_154 (1).jpg']
|