p-christ commited on
Commit
8fd48be
1 Parent(s): 4ef3fc4

Update pipeline.py

Browse files
Files changed (1) hide show
  1. 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) -> 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`):