Spaces:
Runtime error
Runtime error
Jose Garzon
commited on
Commit
·
09b761e
1
Parent(s):
c39b596
fix downloading the model
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from fastai.vision.core import PILImage
|
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
|
| 8 |
|
| 9 |
-
learner = load_learner(hf_hub_download("JmGarzonv/intel_image_classification_fastai","model.pkl"
|
| 10 |
|
| 11 |
def classify_image(image):
|
| 12 |
img = PILImage.create(image)
|
|
|
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
|
| 8 |
|
| 9 |
+
learner = load_learner(hf_hub_download("JmGarzonv/intel_image_classification_fastai","model.pkl"))
|
| 10 |
|
| 11 |
def classify_image(image):
|
| 12 |
img = PILImage.create(image)
|