sylwia malinowska
commited on
Commit
β’
3ddd113
1
Parent(s):
08dead5
rename
Browse files
app.py
CHANGED
@@ -12,9 +12,10 @@ def classify_image(img):
|
|
12 |
return dict(zip(categories, map(float, probs)))
|
13 |
|
14 |
|
15 |
-
image = gr.inputs.Image(shape=(
|
16 |
label = gr.outputs.Label()
|
17 |
-
examples = ['british
|
|
|
18 |
|
19 |
|
20 |
iface = gr.Interface(fn=classify_image, inputs=image,
|
|
|
12 |
return dict(zip(categories, map(float, probs)))
|
13 |
|
14 |
|
15 |
+
image = gr.inputs.Image(shape=(200, 200))
|
16 |
label = gr.outputs.Label()
|
17 |
+
examples = ['british-shorthair.jpg',
|
18 |
+
'maine-coon.jpg', 'european-shorthair.jpg']
|
19 |
|
20 |
|
21 |
iface = gr.Interface(fn=classify_image, inputs=image,
|
british.jpg β british-shorthair.jpg
RENAMED
File without changes
|
european.jpg β european-shorthair.jpg
RENAMED
File without changes
|