moshe742 commited on
Commit
7bac702
·
1 Parent(s): c6906cf
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,8 @@ def classify_image(image):
13
  pred, idx, probs = learner.predict(image)
14
  return dict(zip(categories, map(float, probs)))
15
 
16
- image = gr.Image(shape=(192, 192))
 
17
  label = gr.Label()
18
  examples = ['chess.jpg', 'checkers.webp', "dono.jpg"]
19
 
 
13
  pred, idx, probs = learner.predict(image)
14
  return dict(zip(categories, map(float, probs)))
15
 
16
+
17
+ image = gr.Image(height=192, width=192)
18
  label = gr.Label()
19
  examples = ['chess.jpg', 'checkers.webp', "dono.jpg"]
20