mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 22:30:45 -07:00
ci(M01): fix sgm.modules.attention attribute - explicit submodule imports
Made-with: Cursor
This commit is contained in:
parent
bc3bd812dd
commit
28d006b1ab
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ def main() -> None:
|
|||
)
|
||||
touch(
|
||||
os.path.join(REPOS, gm, "sgm", "modules", "__init__.py"),
|
||||
"from .conditioner import GeneralConditioner\n",
|
||||
"from .conditioner import GeneralConditioner\n"
|
||||
"from . import attention, diffusionmodules, encoders\n",
|
||||
)
|
||||
touch(
|
||||
os.path.join(REPOS, gm, "sgm", "modules", "diffusionmodules", "openaimodel.py"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue