kz209 commited on
Commit
d546b0e
·
1 Parent(s): 54c6336
Files changed (1) hide show
  1. utils/model.py +1 -1
utils/model.py CHANGED
@@ -57,4 +57,4 @@ class Model(torch.nn.Module):
57
  eos_token_id=self.tokenizer.eos_token_id,
58
  )
59
 
60
- return sequences[-1]['generated_text']
 
57
  eos_token_id=self.tokenizer.eos_token_id,
58
  )
59
 
60
+ return sequences[-1]['summary_text']