Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ st.set_page_config(layout="wide")
|
|
12 |
def load_model():
|
13 |
from transformers import (
|
14 |
EncoderDecoderModel,
|
15 |
-
AutoTokenizer
|
16 |
)
|
17 |
PRETRAINED = "raynardj/wenyanwen-ancient-translate-to-modern"
|
18 |
tokenizer = AutoTokenizer.from_pretrained(PRETRAINED)
|
|
|
12 |
def load_model():
|
13 |
from transformers import (
|
14 |
EncoderDecoderModel,
|
15 |
+
AutoTokenizer,
|
16 |
)
|
17 |
PRETRAINED = "raynardj/wenyanwen-ancient-translate-to-modern"
|
18 |
tokenizer = AutoTokenizer.from_pretrained(PRETRAINED)
|