Update summarizer.py
Browse files- summarizer.py +2 -2
summarizer.py
CHANGED
@@ -81,8 +81,8 @@ class DocumentSummarizer:
|
|
81 |
|
82 |
final_summaries = self.legal_pipeline(
|
83 |
refined_chunks,
|
84 |
-
max_length=
|
85 |
-
min_length=
|
86 |
do_sample=False,
|
87 |
num_beams=1,
|
88 |
truncation=True
|
|
|
81 |
|
82 |
final_summaries = self.legal_pipeline(
|
83 |
refined_chunks,
|
84 |
+
max_length=250,
|
85 |
+
min_length=48,
|
86 |
do_sample=False,
|
87 |
num_beams=1,
|
88 |
truncation=True
|