fix: invalid patch

This commit is contained in:
Dr.Lt.Data
2024-05-08 21:22:11 +09:00
parent 6f09cdf99d
commit feb07e550c
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import configparser
import os
version_code = [5, 5, 3]
version_code = [5, 5, 4]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
dependency_version = 20
+1 -7
View File
@@ -100,14 +100,8 @@ def ksampler(sampler_name, total_sigmas, extra_options={}, inpaint_options={}):
sampler_function = sample_dpmpp_sde
elif sampler_name == "uni_pc":
return samplers.KSAMPLER(samplers.uni_pc.sample_unipc)
elif sampler_name == "uni_pc_bh2":
return samplers.KSAMPLER(samplers.uni_pc.sample_unipc_bh2)
elif sampler_name == 'ddim':
return samplers.ksampler("euler", inpaint_options={"random": True})
else:
return samplers.ksampler(sampler_name, extra_options, inpaint_options)
return comfy.samplers.sampler_object(sampler_name)
return samplers.KSAMPLER(sampler_function, extra_options, inpaint_options)