nelbarman053
commited on
Commit
·
099b955
1
Parent(s):
7c3810b
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def recognize_image(image_path):
|
|
23 |
label, _, probs = model.predict(image_path)
|
24 |
return dict(zip(labels, map(float, probs)))
|
25 |
|
26 |
-
inputs = gr.Image()
|
27 |
outputs = gr.Label()
|
28 |
|
29 |
examples = [
|
|
|
23 |
label, _, probs = model.predict(image_path)
|
24 |
return dict(zip(labels, map(float, probs)))
|
25 |
|
26 |
+
inputs = gr.Image(height=192, width=192)
|
27 |
outputs = gr.Label()
|
28 |
|
29 |
examples = [
|