inoculatemedia commited on
Commit
0ae855a
·
verified ·
1 Parent(s): 6a2344c

Update kandinsky/t2v_pipeline.py

Browse files
Files changed (1) hide show
  1. kandinsky/t2v_pipeline.py +2 -2
kandinsky/t2v_pipeline.py CHANGED
@@ -113,7 +113,7 @@ class Kandinsky4T2VPipeline:
113
  seed: int = None,
114
  return_frames: bool = False
115
  ):
116
- num_steps = 4
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 != 4:
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