Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
-
learner =
|
5 |
|
6 |
with open('categories.txt', 'r') as file:
|
7 |
categories = file.read().split()
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
+
learner = load_learner("model.pkl")
|
5 |
|
6 |
with open('categories.txt', 'r') as file:
|
7 |
categories = file.read().split()
|