Yaron Koresh commited on
Commit
7c22786
·
verified ·
1 Parent(s): 0c5ef34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ root.addHandler(handler2)
47
  # constant data
48
 
49
  dtype = torch.float16
50
- device = torch.cuda.is_available() ? "cuda" : "cpu"
51
  base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
52
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
53
 
 
47
  # constant data
48
 
49
  dtype = torch.float16
50
+ device = torch.cuda.is_available() if "cuda" else "cpu"
51
  base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
52
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
53