mbarnig commited on
Commit
a4f322f
1 Parent(s): b53ee84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ import paddlehub as hub
4
  import torch
5
  from huggingface_hub import hf_hub_download
6
  from transformers import pipeline
 
7
 
8
  model_ernie = hub.Module(name="ernie_vilg")
9
  model_nllb = "facebook/nllb-200-distilled-600M"
 
4
  import torch
5
  from huggingface_hub import hf_hub_download
6
  from transformers import pipeline
7
+ from PIL import Image
8
 
9
  model_ernie = hub.Module(name="ernie_vilg")
10
  model_nllb = "facebook/nllb-200-distilled-600M"