Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
·
d546b0e
1
Parent(s):
54c6336
update
Browse files- 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]['
|
|
|
57 |
eos_token_id=self.tokenizer.eos_token_id,
|
58 |
)
|
59 |
|
60 |
+
return sequences[-1]['summary_text']
|