Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ root.addHandler(handler)
|
|
42 |
|
43 |
if torch.cuda.is_available():
|
44 |
device = "cuda"
|
45 |
-
dtype = torch.
|
46 |
else:
|
47 |
device = "cpu"
|
48 |
-
dtype = torch.
|
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,11 +57,11 @@ last_motion=""
|
|
57 |
# precision data
|
58 |
|
59 |
seq=512
|
60 |
-
fast=
|
61 |
fps=30
|
62 |
width=896
|
63 |
height=896
|
64 |
-
step=
|
65 |
accu=7.0
|
66 |
|
67 |
# ui data
|
|
|
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 |
# precision data
|
58 |
|
59 |
seq=512
|
60 |
+
fast=True
|
61 |
fps=30
|
62 |
width=896
|
63 |
height=896
|
64 |
+
step=100
|
65 |
accu=7.0
|
66 |
|
67 |
# ui data
|