fix
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
|
|
12 |
pred, idx, probs = learner.predict(img);
|
13 |
return dict(zip(categories, map(float, probs)))
|
14 |
|
15 |
-
image = gr.Image(
|
16 |
|
17 |
label = gr.Label();
|
18 |
|
|
|
12 |
pred, idx, probs = learner.predict(img);
|
13 |
return dict(zip(categories, map(float, probs)))
|
14 |
|
15 |
+
image = gr.Image(height=192, width=192);
|
16 |
|
17 |
label = gr.Label();
|
18 |
|