Jesivn commited on
Commit
4cabd31
1 Parent(s): 7a4a475

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")