espejelomar
commited on
Commit
•
633dc2b
1
Parent(s):
5570344
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import from_pretrained_fastai
|
|
5 |
from PIL import Image
|
6 |
|
7 |
|
8 |
-
class ImageClassificationPipeline(
|
9 |
def __init__(self, model_id: str):
|
10 |
self.model = from_pretrained_fastai(model_id)
|
11 |
|
5 |
from PIL import Image
|
6 |
|
7 |
|
8 |
+
class ImageClassificationPipeline():
|
9 |
def __init__(self, model_id: str):
|
10 |
self.model = from_pretrained_fastai(model_id)
|
11 |
|