done
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
|
|
11 |
return dict(zip(categories, map(float,probs)))
|
12 |
|
13 |
image = gr.Image()
|
14 |
-
label = gr.
|
15 |
examples = ['dog.jpg', 'cat.jpg', 'shiba.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
11 |
return dict(zip(categories, map(float,probs)))
|
12 |
|
13 |
image = gr.Image()
|
14 |
+
label = gr.Label()
|
15 |
examples = ['dog.jpg', 'cat.jpg', 'shiba.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|