Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ import spaces
|
|
8 |
from PIL import Image
|
9 |
import requests
|
10 |
import transformers
|
|
|
11 |
from translatepy import Translator
|
12 |
|
13 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
|
|
8 |
from PIL import Image
|
9 |
import requests
|
10 |
import transformers
|
11 |
+
from transformers import T5EncoderModel
|
12 |
from translatepy import Translator
|
13 |
|
14 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|