Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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)
|