Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ import time
|
|
9 |
import requests
|
10 |
import io
|
11 |
import os
|
|
|
12 |
|
13 |
# Load models
|
14 |
translator = pipeline("translation", model="Helsinki-NLP/opus-mt-dra-en")
|
|
|
9 |
import requests
|
10 |
import io
|
11 |
import os
|
12 |
+
from PIL import Image
|
13 |
|
14 |
# Load models
|
15 |
translator = pipeline("translation", model="Helsinki-NLP/opus-mt-dra-en")
|