Update app.py
Browse files
app.py
CHANGED
|
@@ -15,4 +15,4 @@ def predict(img):
|
|
| 15 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 16 |
|
| 17 |
# Creamos la interfaz y la lanzamos.
|
| 18 |
-
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=
|
|
|
|
| 15 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 16 |
|
| 17 |
# Creamos la interfaz y la lanzamos.
|
| 18 |
+
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=2),examples=['moneda1750.jpg','vasija.jpg']).launch(share=False)
|