Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def proc_submission(
|
|
26 |
token_batch_length,
|
27 |
length_penalty,
|
28 |
repetition_penalty,
|
29 |
-
no_repeat_ngram_size: int=3,
|
30 |
max_input_length: int = 768,
|
31 |
):
|
32 |
"""
|
@@ -286,7 +286,6 @@ if __name__ == "__main__":
|
|
286 |
token_batch_length,
|
287 |
length_penalty,
|
288 |
repetition_penalty,
|
289 |
-
no_repeat_ngram_size,
|
290 |
],
|
291 |
outputs=[output_text, summary_text, compression_rate],
|
292 |
)
|
|
|
26 |
token_batch_length,
|
27 |
length_penalty,
|
28 |
repetition_penalty,
|
29 |
+
#no_repeat_ngram_size: int = 3,
|
30 |
max_input_length: int = 768,
|
31 |
):
|
32 |
"""
|
|
|
286 |
token_batch_length,
|
287 |
length_penalty,
|
288 |
repetition_penalty,
|
|
|
289 |
],
|
290 |
outputs=[output_text, summary_text, compression_rate],
|
291 |
)
|