Commit d75e576e authored by 孙傲's avatar 孙傲

调整样式

修复启动git报错信息(固定版本,暂不接入git自动判断)
parent eee42a62
......@@ -4,8 +4,8 @@
一、环境安装
1. 下载依赖
点击 [此处](https://git.devops.yitong.com/yitong-public/awesome-stable-diffusion/-/archive/master/awesome-stable-diffusion-master.zip) 下载依赖包,解压到任意目录。
1. 下载依赖
点击 [此处](https://git.devops.yitong.com/yitong-public/awesome-stable-diffusion/-/archive/master/awesome-stable-diffusion-master.zip) 下载依赖包,解压到任意目录。
例如解压到`D盘`根目录,对应解码目录为: `D:\awesome-stable-diffusion-master\`,目录结构如下:
```bash
......@@ -23,12 +23,12 @@ d----- 2023/7/10 14:48 tools
------ 2023/7/10 14:48 179 README.md
```
2. 安装 `git`
2. 安装 `git`
双击 `D:\awesome-stable-diffusion-master\tools\Git-2.41.0.2-64-bit.exe` 安装 `git`,安装过程中一路下一步即可。
3. 安装 `Python`
3. 安装 `Python`
双击 `D:\awesome-stable-diffusion-master\tools\python-3.10.11-amd64.exe` 安装 `Python`,**安装过程中勾选 `Add python.exe to PATH`**,一路下一步即可。
**注意:** 安装界面的第一步最下面就有`Add python.exe to PATH`选项,勾选后直接选第一个 `Install Now` 即可。
4. 安装 `Stable Diffusion web UI`
4. 安装 `Stable Diffusion web UI`
双击 `D:\awesome-stable-diffusion-master\stable-diffusion-webui\webui-user.bat` 程序自动安装依赖,安装过程中过下载较大文件,耐心等待。
\ No newline at end of file
......@@ -254,8 +254,10 @@ def prepare_environment():
if not args.skip_python_version_check:
check_python_version()
commit = commit_hash()
tag = git_tag()
# commit = commit_hash()
commit = '394ffa7b0a7fff3ec484bcd084e673a8b301ccc8'
# tag = git_tag()
tag = 'v1.4.0'
print(f"Python {sys.version}")
print(f"Version: {tag}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment