Vendor in the single module used from taming_transformers; remove taming_transformers dependency

(and fix the two ruff complaints)
This commit is contained in:
Aarni Koskela
2023-05-30 12:36:55 +03:00
parent b957dcfece
commit 5fcdaa6a7f
5 changed files with 148 additions and 6 deletions

View File

@@ -20,7 +20,6 @@ assert sd_path is not None, f"Couldn't find Stable Diffusion in any of: {possibl
path_dirs = [
(sd_path, 'ldm', 'Stable Diffusion', []),
(os.path.join(sd_path, '../taming-transformers'), 'taming', 'Taming Transformers', []),
(os.path.join(sd_path, '../CodeFormer'), 'inference_codeformer.py', 'CodeFormer', []),
(os.path.join(sd_path, '../BLIP'), 'models/blip.py', 'BLIP', []),
(os.path.join(sd_path, '../k-diffusion'), 'k_diffusion/sampling.py', 'k_diffusion', ["atstart"]),