Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -42,12 +42,12 @@ 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 = "black-forest-labs/FLUX.1-
|
51 |
|
52 |
# variable data
|
53 |
|
@@ -59,7 +59,7 @@ seq=1024
|
|
59 |
fps=20
|
60 |
width=1280
|
61 |
height=720
|
62 |
-
image_steps=
|
63 |
video_steps=30
|
64 |
accu=4.5
|
65 |
|
|
|
42 |
|
43 |
if torch.cuda.is_available():
|
44 |
device = "cuda"
|
45 |
+
dtype = torch.bfloat16
|
46 |
else:
|
47 |
device = "cpu"
|
48 |
+
dtype = torch.bfloat16
|
49 |
|
50 |
+
base = "black-forest-labs/FLUX.1-schnell"
|
51 |
|
52 |
# variable data
|
53 |
|
|
|
59 |
fps=20
|
60 |
width=1280
|
61 |
height=720
|
62 |
+
image_steps=8
|
63 |
video_steps=30
|
64 |
accu=4.5
|
65 |
|