Spaces:
Runtime error
Runtime error
Commit
·
0754326
1
Parent(s):
c2dbaac
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def text2text_summary(para):
|
|
32 |
early_stopping = True
|
33 |
)
|
34 |
|
35 |
-
response = text2text_tkn.
|
36 |
|
37 |
return response
|
38 |
|
|
|
32 |
early_stopping = True
|
33 |
)
|
34 |
|
35 |
+
response = text2text_tkn.decode(tkn_ids[0], skip_special_tokens = True)
|
36 |
|
37 |
return response
|
38 |
|