Spaces:
Runtime error
Runtime error
MeetJivani
commited on
Commit
•
5f857f0
1
Parent(s):
c9bc014
Update summarize.py
Browse files- summarize.py +2 -2
summarize.py
CHANGED
@@ -22,8 +22,8 @@ def load_model_and_tokenizer(model_name: str) -> tuple:
|
|
22 |
"""
|
23 |
MODEL_OPTIONS = {
|
24 |
"Text Summarizer": "pszemraj/long-t5-tglobal-base-16384-book-summary",
|
25 |
-
"News
|
26 |
-
"News
|
27 |
"Scientific Document Summarizer Alpha": "pszemraj/long-t5-tglobal-base-16384-booksci-summary-v1",
|
28 |
"Scientific Document Summarizer Beta": "pszemraj/pegasus-x-large-book-summary",
|
29 |
}
|
|
|
22 |
"""
|
23 |
MODEL_OPTIONS = {
|
24 |
"Text Summarizer": "pszemraj/long-t5-tglobal-base-16384-book-summary",
|
25 |
+
"News Article Summarizer Alpha": "pszemraj/long-t5-tglobal-base-sci-simplify",
|
26 |
+
"News Article Summarizer Beta": "pszemraj/long-t5-tglobal-base-sci-simplify-elife",
|
27 |
"Scientific Document Summarizer Alpha": "pszemraj/long-t5-tglobal-base-16384-booksci-summary-v1",
|
28 |
"Scientific Document Summarizer Beta": "pszemraj/pegasus-x-large-book-summary",
|
29 |
}
|