Spaces:
Runtime error
Runtime error
dgordonf
commited on
Commit
·
29602c2
1
Parent(s):
2c1bec7
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def classify_img(img):
|
|
19 |
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192, 192))
|
22 |
-
label = gr.outputs.
|
23 |
#examples = ["golden_retriever.jpg", "cat.jpg", "dog.jpg"]
|
24 |
|
25 |
intf = gr.Interface(fn=classify_img, inputs=image, outputs=label)
|
|
|
19 |
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192, 192))
|
22 |
+
label = gr.outputs.Label(num_top_classes=2)
|
23 |
#examples = ["golden_retriever.jpg", "cat.jpg", "dog.jpg"]
|
24 |
|
25 |
intf = gr.Interface(fn=classify_img, inputs=image, outputs=label)
|