Changed path of loader
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ import gradio as gr
|
|
| 12 |
def is_cat(x): return x[0].isupper()
|
| 13 |
|
| 14 |
# we are loading the learner in the .pkl file to now do our project
|
| 15 |
-
learn = load_learner('
|
| 16 |
|
| 17 |
#N/b gradio does not handle pytorch tensors hence the need to convert to float
|
| 18 |
categories = ('Dog,','Cat')
|
|
|
|
| 12 |
def is_cat(x): return x[0].isupper()
|
| 13 |
|
| 14 |
# we are loading the learner in the .pkl file to now do our project
|
| 15 |
+
learn = load_learner('model.pkl')
|
| 16 |
|
| 17 |
#N/b gradio does not handle pytorch tensors hence the need to convert to float
|
| 18 |
categories = ('Dog,','Cat')
|