Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
from fastai.learner import load_learner
|
| 4 |
|
| 5 |
-
learn = from_pretrained_fastai("edureyyy/MamographyClassifier/ModelSuperKek.pkl")
|
| 6 |
-
|
| 7 |
|
| 8 |
label = ['Cancer', 'No Cancer']
|
| 9 |
|
|
|
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
from fastai.learner import load_learner
|
| 4 |
|
| 5 |
+
#learn = from_pretrained_fastai("edureyyy/MamographyClassifier/ModelSuperKek.pkl")
|
| 6 |
+
learn = load_learner('edureyyy/MamographyClassifier/ModelSuperKek.pkl')
|
| 7 |
|
| 8 |
label = ['Cancer', 'No Cancer']
|
| 9 |
|