Spaces:
Runtime error
Runtime error
increase max length
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ if __name__ == "__main__":
|
|
32 |
abs_tokenizer_name = "facebook/bart-large-cnn"
|
33 |
abs_model_name = "facebook/bart-large-cnn"
|
34 |
abs_tokenizer = AutoTokenizer.from_pretrained(abs_tokenizer_name)
|
35 |
-
abs_max_length =
|
36 |
abs_min_length = 30
|
37 |
# ---------------------------
|
38 |
|
|
|
32 |
abs_tokenizer_name = "facebook/bart-large-cnn"
|
33 |
abs_model_name = "facebook/bart-large-cnn"
|
34 |
abs_tokenizer = AutoTokenizer.from_pretrained(abs_tokenizer_name)
|
35 |
+
abs_max_length = 130
|
36 |
abs_min_length = 30
|
37 |
# ---------------------------
|
38 |
|