Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def predict(inp):
|
|
19 |
return confidences
|
20 |
|
21 |
gr.Interface(fn=predict,
|
22 |
-
inputs=gr.Image(type="pil"),
|
23 |
outputs=gr.Label(num_top_classes=3),
|
24 |
examples=["imgs/lion.jpg",
|
25 |
"imgs/car.jpg",
|
|
|
19 |
return confidences
|
20 |
|
21 |
gr.Interface(fn=predict,
|
22 |
+
inputs=gr.Image(type="pil", label="Tölts fel egy képet...", height=400, width=400, sources=["upload"]),
|
23 |
outputs=gr.Label(num_top_classes=3),
|
24 |
examples=["imgs/lion.jpg",
|
25 |
"imgs/car.jpg",
|