Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -36,7 +36,7 @@ class PreTrainedPipeline():
|
|
36 |
"""
|
37 |
Initialize model
|
38 |
"""
|
39 |
-
self.
|
40 |
|
41 |
def __call__(self, inputs: str):
|
42 |
"""
|
|
|
36 |
"""
|
37 |
Initialize model
|
38 |
"""
|
39 |
+
self.main = model = Generator.from_pretrained("miittnnss/testmodel")
|
40 |
|
41 |
def __call__(self, inputs: str):
|
42 |
"""
|