Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,4 +19,4 @@ def predict(img):
|
|
| 19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
# Creamos la interfaz y la lanzamos.
|
| 22 |
-
gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=3),examples=['shine116.jpg','
|
|
|
|
| 19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
# Creamos la interfaz y la lanzamos.
|
| 22 |
+
gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=3),examples=['shine116.jpg','sunrise126.jpg']).launch(share=False)
|