Laurits commited on
Commit
224c31d
·
1 Parent(s): 1ad3ceb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  learn = load_learner('model.pth')
5
 
6
  def classify_image(img):
7
- name, prob = celebrity_name,_,probs = learn.predict(img)
8
  return {name: prob}
9
 
10
  image = gr.inputs.Image(shape=(224,224))
 
4
  learn = load_learner('model.pth')
5
 
6
  def classify_image(img):
7
+ celebrity_name,_,probs = learn.predict(img)
8
  return {name: prob}
9
 
10
  image = gr.inputs.Image(shape=(224,224))