moro23 commited on
Commit
d40eb6d
·
1 Parent(s): 4d2be17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from fastbook import *
2
  import gradio as gr
3
 
4
  ## lets load the model
5
- learn_inf = load_learner(path/'bear_classifier_cat')
6
 
7
  def bear_classifier(image):
8
  pred,pred_idx,probs = learn_inf.predict(image)
 
2
  import gradio as gr
3
 
4
  ## lets load the model
5
+ learn_inf = load_learner('bear_classifier_cat')
6
 
7
  def bear_classifier(image):
8
  pred,pred_idx,probs = learn_inf.predict(image)