Spaces:
Runtime error
Runtime error
Eunchan Lee
commited on
Commit
•
2df8887
1
Parent(s):
bcd5a85
21-12-13
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import torch
|
|
8 |
#import transformers
|
9 |
from transformers import pipeline
|
10 |
#from transformers import
|
11 |
-
st.header("
|
12 |
|
13 |
st.write("Information")
|
14 |
st.write("__Inputs__: Text your input article!!")
|
@@ -38,7 +38,7 @@ Prosecutors said the marriages were part of an immigration scam. On Friday, she
|
|
38 |
|
39 |
|
40 |
|
41 |
-
with st.spinner('Loading Pretrained Models (_please allow for
|
42 |
summarizer_1 = load_plms(plms[0])
|
43 |
summarizer_2 = load_plms(plms[1])
|
44 |
summarizer_3 = load_plms(plms[2])
|
|
|
8 |
#import transformers
|
9 |
from transformers import pipeline
|
10 |
#from transformers import
|
11 |
+
st.header("KNU- Abstractive Summarizer Machine!")
|
12 |
|
13 |
st.write("Information")
|
14 |
st.write("__Inputs__: Text your input article!!")
|
|
|
38 |
|
39 |
|
40 |
|
41 |
+
with st.spinner('Loading Pretrained Models (_please allow for 30 seconds_)...'):
|
42 |
summarizer_1 = load_plms(plms[0])
|
43 |
summarizer_2 = load_plms(plms[1])
|
44 |
summarizer_3 = load_plms(plms[2])
|