Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,10 @@ model2 = torch.hub.load(
|
|
11 |
pretrained=True,
|
12 |
progress=False
|
13 |
)
|
14 |
-
model1 = torch.hub.load("AK391/animegan2-pytorch:main", "generator", pretrained="face_paint_512_v1"
|
15 |
face2paint = torch.hub.load(
|
16 |
'AK391/animegan2-pytorch:main', 'face2paint',
|
17 |
-
size=512,
|
18 |
)
|
19 |
|
20 |
# define the core function
|
|
|
11 |
pretrained=True,
|
12 |
progress=False
|
13 |
)
|
14 |
+
model1 = torch.hub.load("AK391/animegan2-pytorch:main", "generator", pretrained="face_paint_512_v1")
|
15 |
face2paint = torch.hub.load(
|
16 |
'AK391/animegan2-pytorch:main', 'face2paint',
|
17 |
+
size=512,side_by_side=False
|
18 |
)
|
19 |
|
20 |
# define the core function
|