Spaces:
Runtime error
Runtime error
MeetJivani
commited on
Commit
·
01ce424
1
Parent(s):
842597e
Update app.py
Browse files
app.py
CHANGED
@@ -69,11 +69,11 @@ nltk.download("popular", force=True, quiet=True)
|
|
69 |
# "pszemraj/pegasus-x-large-book-summary",
|
70 |
# ] # models users can choose from
|
71 |
MODEL_OPTIONS = {
|
72 |
-
"Text
|
73 |
-
"News Artical
|
74 |
-
"News Artical
|
75 |
-
"Scientific Document
|
76 |
-
"Scientific Document
|
77 |
}
|
78 |
|
79 |
MODAL_NAMES = list(MODEL_OPTIONS.keys()) # User-friendly labels
|
|
|
69 |
# "pszemraj/pegasus-x-large-book-summary",
|
70 |
# ] # models users can choose from
|
71 |
MODEL_OPTIONS = {
|
72 |
+
"Text Summarizer": "pszemraj/long-t5-tglobal-base-16384-book-summary",
|
73 |
+
"News Artical Summarizer Alpha": "pszemraj/long-t5-tglobal-base-sci-simplify",
|
74 |
+
"News Artical Summarizer Beta": "pszemraj/long-t5-tglobal-base-sci-simplify-elife",
|
75 |
+
"Scientific Document Summarizer Alpha": "pszemraj/long-t5-tglobal-base-16384-booksci-summary-v1",
|
76 |
+
"Scientific Document Summarizer Beta": "pszemraj/pegasus-x-large-book-summary",
|
77 |
}
|
78 |
|
79 |
MODAL_NAMES = list(MODEL_OPTIONS.keys()) # User-friendly labels
|