Spaces:
Runtime error
Runtime error
Modfiededition
commited on
Commit
•
a5f9c84
1
Parent(s):
026d9d8
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,10 @@ import transformers
|
|
3 |
import tensorflow
|
4 |
|
5 |
|
6 |
-
from transformers import AutoTokenizer
|
7 |
-
from transformers import TFAutoModelForSeq2SeqLM
|
8 |
|
9 |
model_checkpoint = "Modfiededition/t5-base-fine-tuned-on-jfleg"
|
|
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
11 |
|
12 |
@st.cache
|
|
|
3 |
import tensorflow
|
4 |
|
5 |
|
6 |
+
from transformers import AutoTokenizer, TFAutoModelForSeq2SeqLM
|
|
|
7 |
|
8 |
model_checkpoint = "Modfiededition/t5-base-fine-tuned-on-jfleg"
|
9 |
+
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
11 |
|
12 |
@st.cache
|