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