From b4dc1767a7ebfde0879ad2aee80eea4bca7ae291 Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" Date: Wed, 18 Oct 2023 18:07:52 -0700 Subject: [PATCH] simplify #79 further --- dynthres_unipc.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dynthres_unipc.py b/dynthres_unipc.py index 8da9130..b90d9de 100644 --- a/dynthres_unipc.py +++ b/dynthres_unipc.py @@ -6,12 +6,7 @@ from modules import shared try: from modules.models.diffusion import uni_pc except Exception as e: - from modules.unipc import sampler - class VladUniPC(object): - def __init__(self): - self.sampler = sampler - self.uni_pc = sampler - uni_pc = VladUniPC() + from modules import unipc as uni_pc ######################### UniPC Implementation logic #########################