Spaces:
Runtime error
Runtime error
deep-learning-analytics
commited on
Commit
·
4b98af4
1
Parent(s):
c79c43d
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ import gradio as gr
|
|
4 |
|
5 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
6 |
|
7 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
8 |
|
9 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("
|
10 |
|
11 |
|
12 |
def tokenize_data(text):
|
|
|
4 |
|
5 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
6 |
|
7 |
+
tokenizer = AutoTokenizer.from_pretrained("deep-learning-analytics/automatic-title-generation")
|
8 |
|
9 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("deep-learning-analytics/automatic-title-generation")
|
10 |
|
11 |
|
12 |
def tokenize_data(text):
|