Spaces:
Build error
Build error
Changing to google/pegasus-newsroom
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def start_haystack():
|
|
| 17 |
split_length=200,
|
| 18 |
split_respect_sentence_boundary=True,
|
| 19 |
)
|
| 20 |
-
summarizer = TransformersSummarizer(model_name_or_path="google/pegasus-
|
| 21 |
return document_store, summarizer, preprocessor
|
| 22 |
|
| 23 |
|
|
|
|
| 17 |
split_length=200,
|
| 18 |
split_respect_sentence_boundary=True,
|
| 19 |
)
|
| 20 |
+
summarizer = TransformersSummarizer(model_name_or_path="google/pegasus-newsroom")
|
| 21 |
return document_store, summarizer, preprocessor
|
| 22 |
|
| 23 |
|