Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def predice(imagen):
|
|
32 |
label = config["labels"][target_image_pred_label.item()]
|
33 |
return str(label)
|
34 |
|
35 |
-
|
36 |
fn=predice,
|
37 |
inputs=gr.Image(label="gimme da bird", type="filepath"),
|
38 |
outputs=["text"],
|
|
|
32 |
label = config["labels"][target_image_pred_label.item()]
|
33 |
return str(label)
|
34 |
|
35 |
+
gr.Interface(
|
36 |
fn=predice,
|
37 |
inputs=gr.Image(label="gimme da bird", type="filepath"),
|
38 |
outputs=["text"],
|