Spaces:
Runtime error
Runtime error
bankholdup
commited on
Commit
•
9349523
1
Parent(s):
a10e5ed
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ from torch import nn, autograd, optim
|
|
14 |
from torch.nn import functional as F
|
15 |
from tqdm import tqdm
|
16 |
import lpips
|
17 |
-
|
18 |
|
19 |
#from e4e_projection import projection as e4e_projection
|
20 |
|
@@ -31,6 +31,7 @@ from argparse import Namespace
|
|
31 |
from e4e.utils.common import tensor2im
|
32 |
from e4e.models.psp import pSp
|
33 |
from e4e.models.encoders import psp_encoders
|
|
|
34 |
from util import *
|
35 |
from huggingface_hub import hf_hub_download
|
36 |
|
|
|
14 |
from torch.nn import functional as F
|
15 |
from tqdm import tqdm
|
16 |
import lpips
|
17 |
+
|
18 |
|
19 |
#from e4e_projection import projection as e4e_projection
|
20 |
|
|
|
31 |
from e4e.utils.common import tensor2im
|
32 |
from e4e.models.psp import pSp
|
33 |
from e4e.models.encoders import psp_encoders
|
34 |
+
from e4e.models.stylegan2.model import Generator
|
35 |
from util import *
|
36 |
from huggingface_hub import hf_hub_download
|
37 |
|