下载插件
cd /home/yeqiang/Downloads/ai/stable-diffusion-webui/extensions
git clone https://github.com/Physton/sd-webui-prompt-all-in-one
成果
重启webui,等待依赖安装结束
yeqiang@yeqiang-MS-7B23:~/Downloads/ai/stable-diffusion-webui$ ./webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on yeqiang user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:36:39) [GCC 10.4.0]
Version: v1.4.0
Commit hash: 394ffa7b0a7fff3ec484bcd084e673a8b301ccc8
Installing requirements
Installing sd-webui-prompt-all-in-one: chardet
Installing sd-webui-prompt-all-in-one: execjs
Installing sd-webui-prompt-all-in-one: pathos
Installing sd-webui-prompt-all-in-one: cryptography
Installing sd-webui-prompt-all-in-one: openai
Installing sd-webui-prompt-all-in-one: boto3
Installing sd-webui-prompt-all-in-one: aliyunsdkcore
Installing sd-webui-prompt-all-in-one: aliyunsdkalimt
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
2023-07-06 15:14:52,426 - ControlNet - INFO - ControlNet v1.1.231
ControlNet preprocessor location: /home/yeqiang/Downloads/ai/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-07-06 15:14:52,748 - ControlNet - INFO - ControlNet v1.1.231
sd-webui-prompt-all-in-one background API service started successfully.
Loading weights [6ce0161689] from /home/yeqiang/Downloads/ai/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
preload_extensions_git_metadata for 12 extensions took 4.20s
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 54.3s (import torch: 11.8s, import gradio: 7.0s, import ldm: 1.9s, other imports: 5.8s, setup codeformer: 0.6s, list SD models: 0.1s, load scripts: 13.3s, initialize extra networks: 0.4s, create ui: 4.2s, gradio launch: 7.9s, app_started_callback: 1.1s).
Creating model from config: /home/yeqiang/Downloads/ai/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying attention optimization: Doggettx... done.
Textual inversion embeddings loaded(0):
Model loaded in 117.3s (load weights from disk: 14.5s, create model: 1.2s, apply weights to model: 98.7s, apply half(): 1.6s, move model to device: 0.3s, load textual inversion embeddings: 0.2s, calculate empty prompt: 0.6s).
已经加载出中文提示词输入框了
这个模型太拉文章来源:https://www.toymoban.com/news/detail-593693.html
文章来源地址https://www.toymoban.com/news/detail-593693.html
到了这里,关于Stable Diffusion WebUI 集成 中文提示词插件 sd-webui-prompt-all-in-one Ubuntu22.04 rtx2060 6G的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!