update app
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ model = torch.hub.load(
|
|
22 |
)
|
23 |
face2paint = torch.hub.load(
|
24 |
'AK391/animegan2-pytorch:main', 'face2paint',
|
25 |
-
size=512, device="cuda",
|
|
|
26 |
)
|
27 |
|
28 |
def inference(img):
|
|
|
22 |
)
|
23 |
face2paint = torch.hub.load(
|
24 |
'AK391/animegan2-pytorch:main', 'face2paint',
|
25 |
+
size=512, #device="cuda",
|
26 |
+
side_by_side=False
|
27 |
)
|
28 |
|
29 |
def inference(img):
|