Commit
•
20dad74
1
Parent(s):
494283f
Update pipeline.py
Browse files- pipeline.py +0 -1
pipeline.py
CHANGED
@@ -13,7 +13,6 @@ class PreTrainedPipeline():
|
|
13 |
Initialize model
|
14 |
"""
|
15 |
self.model = CLIPModel.from_pretrained(path)
|
16 |
-
self.processor = CLIPProcessor.from_pretrained(path)
|
17 |
self.tokenizer = CLIPTokenizer.from_pretrained(path)
|
18 |
|
19 |
def __call__(self, inputs: str):
|
|
|
13 |
Initialize model
|
14 |
"""
|
15 |
self.model = CLIPModel.from_pretrained(path)
|
|
|
16 |
self.tokenizer = CLIPTokenizer.from_pretrained(path)
|
17 |
|
18 |
def __call__(self, inputs: str):
|