fix: sampler name in GoBig #988

This commit is contained in:
Thomas Mello 2022-09-11 01:52:51 +03:00 committed by GitHub
parent 008af2d8ff
commit d6f4796c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1779,7 +1779,7 @@ def imgproc(image,image_batch,imgproc_prompt,imgproc_toggles, imgproc_upscale_to
elif sampler_name == 'k_dpm_2_a':
sampler = KDiffusionSampler(model,'dpm_2_ancestral')
elif sampler_name == 'k_dpm_2':
sampler_name = KDiffusionSampler(model,'dpm_2')
sampler = KDiffusionSampler(model,'dpm_2')
elif sampler_name == 'k_euler_a':
sampler = KDiffusionSampler(model,'euler_ancestral')
elif sampler_name == 'k_euler':