jbilcke-hf HF staff commited on
Commit
b71870b
1 Parent(s): 1976186

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -260,7 +260,7 @@ class EndpointHandler:
260
  # video model settings (will be used during generation of the initial raw video clip)
261
  width=params.get("width", GenerationConfig.width),
262
  height=params.get("height", GenerationConfig.height),
263
- num_frames=params.get"num_frames", GenerationConfig.num_frames),
264
  guidance_scale=params.get("guidance_scale", GenerationConfig.guidance_scale),
265
  num_inference_steps=params.get("num_inference_steps", GenerationConfig.num_inference_steps),
266
 
 
260
  # video model settings (will be used during generation of the initial raw video clip)
261
  width=params.get("width", GenerationConfig.width),
262
  height=params.get("height", GenerationConfig.height),
263
+ num_frames=params.get("num_frames", GenerationConfig.num_frames),
264
  guidance_scale=params.get("guidance_scale", GenerationConfig.guidance_scale),
265
  num_inference_steps=params.get("num_inference_steps", GenerationConfig.num_inference_steps),
266