Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|