Spaces:
Runtime error
Runtime error
Eunchan Lee
commited on
Commit
·
c4161a5
1
Parent(s):
fe58823
update
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ model_name_xsum = 'google/pegasus-xsum'
|
|
18 |
tokenizer = AutoTokenizer.from_pretrained(model_name_xsum)
|
19 |
model = PegasusForConditionalGeneration.from_pretrained(model_name_xsum).to(device)
|
20 |
|
21 |
-
|
22 |
def pegasus_abs_summarize(src_text):
|
23 |
|
24 |
|
|
|
18 |
tokenizer = AutoTokenizer.from_pretrained(model_name_xsum)
|
19 |
model = PegasusForConditionalGeneration.from_pretrained(model_name_xsum).to(device)
|
20 |
|
21 |
+
|
22 |
def pegasus_abs_summarize(src_text):
|
23 |
|
24 |
|