Spaces:
Build error
Build error
update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ input_transforms = transforms.Compose([
|
|
32 |
transforms.ToTensor(),
|
33 |
transforms.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
|
34 |
|
35 |
-
model_path =
|
36 |
-
e4e_path = 'e4e_ffhq_encode.pt'
|
37 |
|
38 |
ckpt = torch.load(model_path, map_location='cpu')
|
39 |
opts = ckpt['opts']
|
|
|
32 |
transforms.ToTensor(),
|
33 |
transforms.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
|
34 |
|
35 |
+
model_path = 'pretrained_faces.pt'
|
36 |
+
e4e_path = 'e4e_ffhq_encode.pt'
|
37 |
|
38 |
ckpt = torch.load(model_path, map_location='cpu')
|
39 |
opts = ckpt['opts']
|