Restore Continuum image reference inputs
This commit is contained in:
@@ -49,8 +49,8 @@ class _Sampler(_SamplerBase):
|
||||
|
||||
|
||||
class VendoredNamespaceTests(unittest.TestCase):
|
||||
def test_v39_sampler_exposes_direct_refmod_socket(self):
|
||||
sampler = vendored._add_direct_refmod_input(_Sampler)
|
||||
def test_v39_sampler_keeps_clean_image_reference_surface(self):
|
||||
sampler = vendored._clean_v39_sampler_input(_Sampler)
|
||||
inputs = sampler.INPUT_TYPES()
|
||||
self.assertNotIn("aspect", inputs["required"])
|
||||
self.assertNotIn("preset", inputs["required"])
|
||||
@@ -60,9 +60,9 @@ class VendoredNamespaceTests(unittest.TestCase):
|
||||
self.assertIn("height", inputs["required"])
|
||||
self.assertNotIn("reference_audio_1", inputs["optional"])
|
||||
self.assertNotIn("reference_audio_vae", inputs["optional"])
|
||||
self.assertEqual(inputs["optional"]["refmods"][0], "H3_REF_MODS")
|
||||
self.assertIn("refmod_retention", inputs["optional"])
|
||||
self.assertIn("refmod_max_total_tokens", inputs["optional"])
|
||||
self.assertNotIn("refmods", inputs["optional"])
|
||||
self.assertNotIn("refmod_retention", inputs["optional"])
|
||||
self.assertNotIn("refmod_max_total_tokens", inputs["optional"])
|
||||
result = sampler().run(
|
||||
model=object(), width=128, height=64, size_source="Legacy",
|
||||
aspect="Auto", preset="Draft", custom_mp=0.3,
|
||||
|
||||
Reference in New Issue
Block a user