Spaces:
Runtime error
Runtime error
abdulmatinomotoso
commited on
Commit
•
bdece0b
1
Parent(s):
e79d3d5
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ from transformers import (
|
|
35 |
)
|
36 |
|
37 |
#initializing the tokenizer and the model
|
38 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
39 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("
|
40 |
|
41 |
#Defining a function to generate the headlines
|
42 |
def headline_generator_2(file):
|
|
|
35 |
)
|
36 |
|
37 |
#initializing the tokenizer and the model
|
38 |
+
tokenizer = AutoTokenizer.from_pretrained("valurank/headline_generator_baseline")
|
39 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("valurank/headline_generator_baseline")
|
40 |
|
41 |
#Defining a function to generate the headlines
|
42 |
def headline_generator_2(file):
|