cyborgsuh commited on
Commit
36e7b33
·
1 Parent(s): d021957
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
14
  return dict(zip(categories,map(float,prob)))
15
 
16
 
17
- image=gr.inputs.Image(shape=(192,192))
18
  label=gr.outputs.Label()
19
 
20
  intf=gr.Interface(fn=classify_image,inputs=image,outputs=label,interpretation='default')
 
14
  return dict(zip(categories,map(float,prob)))
15
 
16
 
17
+ image=gr.Image(shape=(192,192))
18
  label=gr.outputs.Label()
19
 
20
  intf=gr.Interface(fn=classify_image,inputs=image,outputs=label,interpretation='default')
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  fastai==2.7.16
2
- gradio==3.50
 
1
  fastai==2.7.16
2
+ gradio==4.42.0