Spaces:
Running
on
Zero
Running
on
Zero
Update kandinsky/t2v_pipeline.py
Browse files
kandinsky/t2v_pipeline.py
CHANGED
@@ -113,7 +113,7 @@ class Kandinsky4T2VPipeline:
|
|
113 |
seed: int = None,
|
114 |
return_frames: bool = False
|
115 |
):
|
116 |
-
num_steps =
|
117 |
|
118 |
# SEED
|
119 |
if seed is None:
|
@@ -135,7 +135,7 @@ class Kandinsky4T2VPipeline:
|
|
135 |
if (height, width) not in self.RESOLUTIONS[self.resolution]:
|
136 |
raise ValueError(f"Wrong height, width pair. Available (height, width) are: {self.RESOLUTIONS[self.resolution]}")
|
137 |
|
138 |
-
if num_steps !=
|
139 |
raise NotImplementedError(f"In the distilled version number of steps have to be strictly equal to 4")
|
140 |
|
141 |
# PREPARATION
|
|
|
113 |
seed: int = None,
|
114 |
return_frames: bool = False
|
115 |
):
|
116 |
+
num_steps = 8
|
117 |
|
118 |
# SEED
|
119 |
if seed is None:
|
|
|
135 |
if (height, width) not in self.RESOLUTIONS[self.resolution]:
|
136 |
raise ValueError(f"Wrong height, width pair. Available (height, width) are: {self.RESOLUTIONS[self.resolution]}")
|
137 |
|
138 |
+
if num_steps != 8:
|
139 |
raise NotImplementedError(f"In the distilled version number of steps have to be strictly equal to 4")
|
140 |
|
141 |
# PREPARATION
|