Ibrahim-Fateen commited on
Commit
dff4438
·
1 Parent(s): f51910b

update app py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def classify_image(img):
9
 
10
  learn = load_learner('model.pkl')
11
 
12
- image = gr.inputs.Image(shape=(192, 192))
13
- label = gr.outputs.Label()
14
 
15
  iface = gr.Interface(fn=classify_image, inputs=image, outputs=label)
16
  iface.launch(inline=False)
 
9
 
10
  learn = load_learner('model.pkl')
11
 
12
+ image = gr.Image(shape=(192, 192))
13
+ label = gr.Label()
14
 
15
  iface = gr.Interface(fn=classify_image, inputs=image, outputs=label)
16
  iface.launch(inline=False)