Himanshi commited on
Commit
7fde48b
1 Parent(s): 35e20b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,14 +33,14 @@ model = torch.hub.load(
33
  "AK391/animegan2-pytorch:main",
34
  "generator",
35
  pretrained=True,
36
- device="cuda",
37
  progress=False
38
  )
39
 
40
 
41
  face2paint = torch.hub.load(
42
  'AK391/animegan2-pytorch:main', 'face2paint',
43
- size=512, device="cuda",side_by_side=False
44
  )
45
 
46
  def inference(img, method):
 
33
  "AK391/animegan2-pytorch:main",
34
  "generator",
35
  pretrained=True,
36
+ device="cpu",
37
  progress=False
38
  )
39
 
40
 
41
  face2paint = torch.hub.load(
42
  'AK391/animegan2-pytorch:main', 'face2paint',
43
+ size=512, device="cpu",side_by_side=False
44
  )
45
 
46
  def inference(img, method):