sd-webui-prompt-generator
所属分类:自然语言处理
开发工具:Python
文件大小:112KB
下载次数:0
上传日期:2023-05-04 02:31:19
上 传 者:
sh-1993
说明: 提示信号发生器
(prompt generator)
文件列表:
LICENSE (35149, 2023-05-04)
docs (0, 2023-05-04)
docs\setting.png (40245, 2023-05-04)
docs\ui.png (43928, 2023-05-04)
install.py (319, 2023-05-04)
requirements.txt (57, 2023-05-04)
scripts (0, 2023-05-04)
scripts\format_prompt.py (16288, 2023-05-04)
scripts\gen_prompt.py (8076, 2023-05-04)
scripts\translate_prompt.py (2526, 2023-05-04)
scripts\ui.py (4959, 2023-05-04)
# sd-webui-提示生成器
## 自述文件翻译
- [英语](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/README.en.md)
- [简体中文](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/README.md)
- [日本人](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/README.ja.md)
- [俄语](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/README.ru.md)
## 概述
创建生成器提示是为了帮助您为您创建提示。
- 翻译Prompt到英文
- 小而快的Prompt生成模型
- 自动为Prompt生成更多细节
- 标准模式
- 二次元(动画)模式
- 自动格式化Prompt
## 用法
- `F`按钮格式化
- `G`按钮翻译+生成
![ui.png](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/./docs/ui.png)
### 模型下载
模型自动从[拥抱脸](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://huggingface.co/)下载,如果网络不好,可以手动下载[百度](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://pan.baidu.com/s/1RRo30reGmhRzFlGrZG74tg?pwd=mh96)
- 离线下载
- [百度](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://pan.baidu.com/s/1RRo30reGmhRzFlGrZG74tg?pwd=mh96)提取码: mh96
- 解压到`stable-diffusion-webui\models`
- 模型官网
- [动漫-anything-promptgen-v2](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://huggingface.co/FredZhang7/anime-anything-promptgen-v2)
- [distilgpt2](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://huggingface.co/distilgpt2)
- [distilgpt2-稳定扩散-v2](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/https://huggingface.co/FredZhang7/distilgpt2-stable-diffusion-v2)
## 设置
- `model type`
- `normal`一般模式
- `anime`二次元
- `model device`
- `cpu`不占用显存、稍慢
- `cuda`占用显存、快
- `translate `
- `none`不翻译
- `google`谷歌翻译
- `youdao`有道翻译
- `translate from`
- `zh`中文
- `jp`日文
- `ru`俄文
- `genertor temperature`生成温度, 0.0-1.0,越高越随机
![img.png](https://github.com/zhongpei/sd-webui-prompt-generator/blob/master/./docs/setting.png)
近期下载者:
相关文件:
收藏者: