Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,4 +13,4 @@ def predict(txt):
|
|
| 13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 14 |
|
| 15 |
# Creamos la interfaz y la lanzamos.
|
| 16 |
-
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=4)
|
|
|
|
| 13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 14 |
|
| 15 |
# Creamos la interfaz y la lanzamos.
|
| 16 |
+
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=4))
|