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