aliabd HF staff commited on
Commit
ea551a9
1 Parent(s): 4daf591

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", device="cuda")
15
  face2paint = torch.hub.load(
16
  'AK391/animegan2-pytorch:main', 'face2paint',
17
- size=512, device="cuda",side_by_side=False
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