Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
from fastbook import *
|
2 |
import gradio as gr
|
3 |
## lets load the model
|
4 |
-
learn_inf = load_learner('bear_classifier_cat')
|
|
|
|
|
5 |
|
6 |
def bear_classifier(image):
|
7 |
pred,pred_idx,probs = learn_inf.predict(image)
|
|
|
1 |
from fastbook import *
|
2 |
import gradio as gr
|
3 |
## lets load the model
|
4 |
+
#learn_inf = load_learner('bear_classifier_cat')
|
5 |
+
learn_inf = load_learner('multi_label_bear_classifier')
|
6 |
+
|
7 |
|
8 |
def bear_classifier(image):
|
9 |
pred,pred_idx,probs = learn_inf.predict(image)
|