jbilcke-hf HF staff commited on
Commit
fc5df44
1 Parent(s): 6df70c5

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -194,7 +194,7 @@ class EndpointHandler:
194
  input_data=frames, # note: this might contain a certain number of frames eg. 97, which will get doubled if double_num_frames is True
195
  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)
196
  double_num_frames=config.double_num_frames, # if True, the number of frames will be multiplied by 2 using RIFE
197
- super_resolution=config.grain_amount_config, # if True, the resolution will be multiplied by 2 using Real_ESRGAN
198
  grain_amount=config.grain_amount,
199
  enable_audio=config.enable_audio,
200
  audio_prompt=config.audio_prompt,
 
194
  input_data=frames, # note: this might contain a certain number of frames eg. 97, which will get doubled if double_num_frames is True
195
  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)
196
  double_num_frames=config.double_num_frames, # if True, the number of frames will be multiplied by 2 using RIFE
197
+ super_resolution=config.super_resolution, # if True, the resolution will be multiplied by 2 using Real_ESRGAN
198
  grain_amount=config.grain_amount,
199
  enable_audio=config.enable_audio,
200
  audio_prompt=config.audio_prompt,