miittnnss commited on
Commit
8b7694f
·
1 Parent(s): 95ae784

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -36,7 +36,7 @@ class PreTrainedPipeline():
36
  """
37
  Initialize model
38
  """
39
- self.model = model = Generator.from_pretrained("miittnnss/testmodel")
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
  """