moro23 commited on
Commit
429c768
·
1 Parent(s): 88a2e5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,10 +1,13 @@
1
  from fastbook import *
2
  import gradio as gr
3
- ## lets load the model
4
- learn_inf = load_learner('multi_label_bear_classifier_v1.pkl')
5
 
6
  def get_y(o):
7
  return [parent_label(o)]
 
 
 
 
 
8
 
9
  def maize_disease_classifier(image):
10
  pred,pred_idx,probs = learn_inf.predict(image)
 
1
  from fastbook import *
2
  import gradio as gr
 
 
3
 
4
  def get_y(o):
5
  return [parent_label(o)]
6
+
7
+ ## lets load the model
8
+ learn_inf = load_learner('multi_label_bear_classifier_v1.pkl')
9
+
10
+
11
 
12
  def maize_disease_classifier(image):
13
  pred,pred_idx,probs = learn_inf.predict(image)