Spaces:
Sleeping
Sleeping
ShivamPathak
commited on
Commit
•
54fb877
1
Parent(s):
8fc530a
Error Fixed Learn not found
Browse files
app.py
CHANGED
@@ -7,6 +7,8 @@ __all__ = ['categories', 'image', 'label', 'examples', 'intf', 'classify_image']
|
|
7 |
from fastai.vision.all import *
|
8 |
import gradio as gr
|
9 |
|
|
|
|
|
10 |
|
11 |
# %% ../app.ipynb 5
|
12 |
categories = ('Elephantiasis','Normal Leg','Normal Skin','Ringworm','Skin Acne', 'Skin Cancer')
|
|
|
7 |
from fastai.vision.all import *
|
8 |
import gradio as gr
|
9 |
|
10 |
+
# %% ../app.ipynb 3
|
11 |
+
learn = load_learner('model.pkl')
|
12 |
|
13 |
# %% ../app.ipynb 5
|
14 |
categories = ('Elephantiasis','Normal Leg','Normal Skin','Ringworm','Skin Acne', 'Skin Cancer')
|