Yaron Koresh commited on
Commit
aa5fc09
·
verified ·
1 Parent(s): d885377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -42,10 +42,10 @@ root.addHandler(handler)
42
 
43
  if torch.cuda.is_available():
44
  device = "cuda"
45
- dtype = torch.float16
46
  else:
47
  device = "cpu"
48
- dtype = torch.float16
49
 
50
  base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
51
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
@@ -57,12 +57,12 @@ last_motion=""
57
  # precision data
58
 
59
  seq=512
60
- fast=True
61
  fps=30
62
  width=896
63
  height=896
64
- step=100
65
- accu=9.0
66
 
67
  # ui data
68
 
 
42
 
43
  if torch.cuda.is_available():
44
  device = "cuda"
45
+ dtype = torch.float32
46
  else:
47
  device = "cpu"
48
+ dtype = torch.float32
49
 
50
  base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
51
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
 
57
  # precision data
58
 
59
  seq=512
60
+ fast=False
61
  fps=30
62
  width=896
63
  height=896
64
+ step=200
65
+ accu=7.0
66
 
67
  # ui data
68