Spaces:
Sleeping
Sleeping
Commit
·
92b42f4
1
Parent(s):
ced6706
changed library to huggingface
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
from
|
2 |
import gradio as gr
|
3 |
|
4 |
-
learn =
|
5 |
|
6 |
labels = learn.dls.vocab
|
7 |
|
|
|
1 |
+
from huggingface_hub import from_pretrained_fastai
|
2 |
import gradio as gr
|
3 |
|
4 |
+
learn = from_pretrained_fastai('./deadpool-detection-model.pkl')
|
5 |
|
6 |
labels = learn.dls.vocab
|
7 |
|