jbilcke-hf HF staff commited on
Commit
26effe4
·
verified ·
1 Parent(s): b71870b

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -177,7 +177,7 @@ class EndpointHandler:
177
  fps=config.fps, # this is the FPS of the final output video. This number can be used by Varnish to calculate the duration of a clip ((using frames * factor) / fps etc)
178
  double_num_frames=config.double_num_frames, # if True, the number of frames will be multiplied by 2 using RIFE
179
  super_resolution=config.grain_amount_config, # if True, the resolution will be multiplied by 2 using Real_ESRGAN
180
- grain_amount_config.grain_amount,
181
  enable_audio=config.enable_audio,
182
  audio_prompt=config.audio_prompt,
183
  audio_negative_prompt=config.audio_negative_prompt,
 
177
  fps=config.fps, # this is the FPS of the final output video. This number can be used by Varnish to calculate the duration of a clip ((using frames * factor) / fps etc)
178
  double_num_frames=config.double_num_frames, # if True, the number of frames will be multiplied by 2 using RIFE
179
  super_resolution=config.grain_amount_config, # if True, the resolution will be multiplied by 2 using Real_ESRGAN
180
+ grain_amount=config.grain_amount,
181
  enable_audio=config.enable_audio,
182
  audio_prompt=config.audio_prompt,
183
  audio_negative_prompt=config.audio_negative_prompt,