idan-haimovich
commited on
Commit
•
d9a6e4b
1
Parent(s):
d06c429
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def classify_image(img):
|
|
17 |
pred, idx, probs = learn.predict(img)
|
18 |
return dict(zip(urls, map(float, probs)))
|
19 |
|
20 |
-
image=gr.Image(height =
|
21 |
label = gr.Label(num_top_classes=4)
|
22 |
#the num_top_classes=x means one result, could change it
|
23 |
#better_label = gr.Label()
|
|
|
17 |
pred, idx, probs = learn.predict(img)
|
18 |
return dict(zip(urls, map(float, probs)))
|
19 |
|
20 |
+
image=gr.Image(height = 350, width = 350)
|
21 |
label = gr.Label(num_top_classes=4)
|
22 |
#the num_top_classes=x means one result, could change it
|
23 |
#better_label = gr.Label()
|