Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

具体要修改什么? #1

Open
cultivater opened this issue Jun 1, 2023 · 2 comments
Open

具体要修改什么? #1

cultivater opened this issue Jun 1, 2023 · 2 comments

Comments

@cultivater
Copy link

“然后,修改这个目录下的sd_hijack.py,使其能够正确加载TaiyiCLIPEmbedder;

再修改sd_models_config.py和sd_models.py,使其能够正确加载太乙模型。”

@wxj630
Copy link
Collaborator

wxj630 commented Jun 1, 2023

方法一:你可以用本项目的.py文件,覆盖webui里对应的.py文件就行。
方法二:如果你对python熟悉,在本项目.py文件里搜索“taiyi”就可以看到我们新增的内容(我们不会修改原来的代码,只是在原有代码基础上新增了taiyi相关代码以支持太乙模型的加载),然后把这些新增的部分加到原来webui的代码里就行。

@JaosonMa
Copy link

JaosonMa commented Jul 17, 2023

@wxj630 最后要把直接运行run.sh吗?那原来的webui.sh不启动了吗?
是不是这个意思,按照上面的修改完成后,把run.sh放到stable-diffusion-webui根目录,然后运行 bash run.sh,就会在2333的端口中另外启动一个独立与原来的webui服务。两者可以同事启动?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants