g0blas commited on
Commit
176dbf1
1 Parent(s): cb9fd6b

updated the app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ def recognize_image(image):
32
  pred, idx, probs = model.predict(image)
33
  return dict(zip(chicken_breeds, map(float, probs)))
34
 
35
- image = gr.inputs.Image(shape=(192, 192))
36
- label = gr.outputs.Label()
37
 
38
  examples = [
39
  'test_images/test_00.jpg',
 
32
  pred, idx, probs = model.predict(image)
33
  return dict(zip(chicken_breeds, map(float, probs)))
34
 
35
+ image = gr.Image(shape=(192, 192))
36
+ label = gr.Label()
37
 
38
  examples = [
39
  'test_images/test_00.jpg',