ChiChiZhao commited on
Commit
04a29e8
1 Parent(s): 0744a62

hehehehehe

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -19,8 +19,8 @@ def classify_image(img):
19
  return dict(zip(categories, map(float,probs)))
20
 
21
  # Cell
22
- image = gr.inputs.Image(shape=(192, 192))
23
- label = gr.outputs.Label()
24
  examples = ['dog.jpg', 'cat.jpg']
25
 
26
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
19
  return dict(zip(categories, map(float,probs)))
20
 
21
  # Cell
22
+ image = gr.Image(shape=(192, 192))
23
+ label = gr.Label()
24
  examples = ['dog.jpg', 'cat.jpg']
25
 
26
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  fastai
2
- gradio==3.50
 
1
  fastai
2
+ gradio