Spaces:
Sleeping
Sleeping
edwardb1203
commited on
Commit
•
a04f8da
1
Parent(s):
07f2d87
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
import docx2txt
|
7 |
|
8 |
tokenizer = AutoTokenizer.from_pretrained("allenai/led-base-16384")
|
9 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("checkpoint-64840")
|
10 |
|
11 |
def summarize(text_file):
|
12 |
file_extension = os.path.splitext(text_file.name)[1]
|
|
|
6 |
import docx2txt
|
7 |
|
8 |
tokenizer = AutoTokenizer.from_pretrained("allenai/led-base-16384")
|
9 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("checkpoint-64840")
|
10 |
|
11 |
def summarize(text_file):
|
12 |
file_extension = os.path.splitext(text_file.name)[1]
|