Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def summarize_text(text):
|
|
32 |
|
33 |
# Tokenize abstract
|
34 |
inputs = tokenizer(abstract,
|
35 |
-
max_length=
|
36 |
return_tensors="pt",
|
37 |
truncation=True)
|
38 |
|
|
|
32 |
|
33 |
# Tokenize abstract
|
34 |
inputs = tokenizer(abstract,
|
35 |
+
max_length=1024,
|
36 |
return_tensors="pt",
|
37 |
truncation=True)
|
38 |
|