Skip to content

Commit

Permalink
Forgot this.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Dec 15, 2023
1 parent 014c8bf commit adc40e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy_extras/nodes_model_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def patch(self, model, sampling, zsnr):
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass

model_sampling = ModelSamplingAdvanced()
model_sampling = ModelSamplingAdvanced(model.model.model_config)
if zsnr:
model_sampling.set_sigmas(rescale_zero_terminal_snr_sigmas(model_sampling.sigmas))

Expand Down

0 comments on commit adc40e3

Please sign in to comment.