Spaces:
Runtime error
Runtime error
Eunchan Lee
commited on
Commit
·
301b416
1
Parent(s):
77c9771
211213
Browse files
app.py
CHANGED
@@ -33,8 +33,7 @@ st.write("__Inputs__: Text your input article!!")
|
|
33 |
st.write("__Outputs__: Summarizing output text by State-of-the-art NLP summarization Models! ")
|
34 |
|
35 |
|
36 |
-
|
37 |
-
@st.cache
|
38 |
def load_plms(model_name):
|
39 |
#model_name = "google/pegasus-xsum"
|
40 |
summarizer = pipeline(task="summarization", model=model_name)
|
|
|
33 |
st.write("__Outputs__: Summarizing output text by State-of-the-art NLP summarization Models! ")
|
34 |
|
35 |
|
36 |
+
#@st.cache
|
|
|
37 |
def load_plms(model_name):
|
38 |
#model_name = "google/pegasus-xsum"
|
39 |
summarizer = pipeline(task="summarization", model=model_name)
|