simplify #79 further

This commit is contained in:
Alex "mcmonkey" Goodwin
2023-10-18 18:07:52 -07:00
parent 4ba4b1c03b
commit b4dc1767a7
+1 -6
View File
@@ -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 #########################