Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ import numpy as np
|
|
| 13 |
import torch
|
| 14 |
import torch_utils
|
| 15 |
import torch.nn as nn
|
|
|
|
| 16 |
from huggingface_hub import hf_hub_download
|
| 17 |
from transformers import pipeline
|
| 18 |
sys.path.insert(0, 'StyleGAN-Human')
|
|
@@ -24,7 +25,7 @@ ARTICLE = '<center><img src="https://visitor-badge.glitch.me/badge?page_id=hysts
|
|
| 24 |
|
| 25 |
TOKEN = "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"
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es")
|
| 30 |
|
|
|
|
| 13 |
import torch
|
| 14 |
import torch_utils
|
| 15 |
import torch.nn as nn
|
| 16 |
+
import download
|
| 17 |
from huggingface_hub import hf_hub_download
|
| 18 |
from transformers import pipeline
|
| 19 |
sys.path.insert(0, 'StyleGAN-Human')
|
|
|
|
| 25 |
|
| 26 |
TOKEN = "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"
|
| 27 |
|
| 28 |
+
os.listdir(download)
|
| 29 |
|
| 30 |
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es")
|
| 31 |
|