1 Star 0 Fork 0

LeChaPatteImpitoyable / sd-dynamic-prompts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.py 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
import sys
if __name__ == "__main__":
try:
from sd_dynamic_prompts.version_tools import install_requirements
except ImportError:
# This patching shouldn't be necessary, but who knows... See issue #486.
extension_dir = os.path.dirname(os.path.abspath(__file__))
if extension_dir not in sys.path:
sys.path.insert(0, extension_dir)
from sd_dynamic_prompts.version_tools import install_requirements
install_requirements(force=("-f" in sys.argv))
1
https://gitee.com/LeChaPatteImpitoyable/sd-dynamic-prompts.git
git@gitee.com:LeChaPatteImpitoyable/sd-dynamic-prompts.git
LeChaPatteImpitoyable
sd-dynamic-prompts
sd-dynamic-prompts
main

搜索帮助