Mosharof commited on
Commit
eeb4410
·
1 Parent(s): 3da089f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ learn = load_learner('model.pkl')
6
 
7
  def classify_image(img):
8
  pred, idx,probs = learn.predict(img)
9
- return pred, idx,probs
10
 
11
  image = gr.inputs.Image(shape=(192,192))
12
  lebel = gr.outputs.Label()
 
6
 
7
  def classify_image(img):
8
  pred, idx,probs = learn.predict(img)
9
+ return pred
10
 
11
  image = gr.inputs.Image(shape=(192,192))
12
  lebel = gr.outputs.Label()