MCPcopy Create free account
hub / github.com/Sygil-Dev/sygil-webui / __init__

Method __init__

scripts/webui.py:607–610  ·  view source on GitHub ↗
(self, m, sampler)

Source from the content-addressed store, hash-verified

605
606class KDiffusionSampler:
607 def __init__(self, m, sampler):
608 self.model = m
609 self.model_wrap = K.external.CompVisDenoiser(m)
610 self.schedule = sampler
611
612 def get_sampler_name(self):
613 return self.schedule

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected