Update pipeline.py
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
@@ -6,8 +6,9 @@ class PreTrainedPipeline():
|
|
6 |
# Preload all the elements you are going to need at inference.
|
7 |
# For instance your model, processors, tokenizer that might be needed.
|
8 |
# This function is only called once, so do all the heavy processing I/O here"""
|
|
|
9 |
|
10 |
-
def __call__(self, inputs: str)
|
11 |
"""
|
12 |
Args:
|
13 |
inputs (:obj:`str`):
|
|
|
6 |
# Preload all the elements you are going to need at inference.
|
7 |
# For instance your model, processors, tokenizer that might be needed.
|
8 |
# This function is only called once, so do all the heavy processing I/O here"""
|
9 |
+
pass
|
10 |
|
11 |
+
def __call__(self, inputs: str):
|
12 |
"""
|
13 |
Args:
|
14 |
inputs (:obj:`str`):
|