Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from diffusers.utils import load_image
|
|
13 |
from PIL import Image
|
14 |
import requests
|
15 |
import transformers
|
16 |
-
from transformers import AutoTokenizer,
|
17 |
from translatepy import Translator
|
18 |
|
19 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
|
|
13 |
from PIL import Image
|
14 |
import requests
|
15 |
import transformers
|
16 |
+
from transformers import AutoTokenizer, T5EncoderModel, PretrainedConfig
|
17 |
from translatepy import Translator
|
18 |
|
19 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|