Commit ·
4b11017
1
Parent(s): 099b955
height and width
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(height=
|
| 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=512, width=512)
|
| 27 |
outputs = gr.Label()
|
| 28 |
|
| 29 |
examples = [
|