jbilcke-hf HF staff commited on
Commit
e28cd56
1 Parent(s): d267cd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -204,7 +204,12 @@ def sample(
204
  width: int = 832,
205
  height: int = 448,
206
  num_inference_steps: int = 4,
207
- decoding_t: int = 4, # Number of frames decoded at a time! This eats most VRAM. Reduce if necessary.
 
 
 
 
 
208
  output_folder: str = "outputs_gradio",
209
  ):
210
  if secret_token != SECRET_TOKEN:
 
204
  width: int = 832,
205
  height: int = 448,
206
  num_inference_steps: int = 4,
207
+
208
+ # Number of frames decoded at a time
209
+ # low values uses less VRAM, high values reduce flickering
210
+ # benchmark:
211
+ # 4 = works OK with 24 Gb of VRAM, but 30% of flickering
212
+ decoding_t: int = 8, # Number of frames decoded at a time! This eats most VRAM. Reduce if necessary.
213
  output_folder: str = "outputs_gradio",
214
  ):
215
  if secret_token != SECRET_TOKEN: