Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
awesome-stable-diffusion
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
yitong-public
awesome-stable-diffusion
Commits
d75e576e
Commit
d75e576e
authored
Jul 10, 2023
by
孙傲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整样式
修复启动git报错信息(固定版本,暂不接入git自动判断)
parent
eee42a62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
README.md
README.md
+5
-5
stable-diffusion-webui/modules/launch_utils.py
stable-diffusion-webui/modules/launch_utils.py
+4
-2
No files found.
README.md
View file @
d75e576e
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
一、环境安装
一、环境安装
1.
下载依赖
1.
下载依赖
点击
[
此处
](
https://git.devops.yitong.com/yitong-public/awesome-stable-diffusion/-/archive/master/awesome-stable-diffusion-master.zip
)
下载依赖包,解压到任意目录。
点击
[
此处
](
https://git.devops.yitong.com/yitong-public/awesome-stable-diffusion/-/archive/master/awesome-stable-diffusion-master.zip
)
下载依赖包,解压到任意目录。
例如解压到
`D盘`
根目录,对应解码目录为:
`D:\awesome-stable-diffusion-master\`,目录结构如下:
例如解压到
`D盘`
根目录,对应解码目录为:
`D:\awesome-stable-diffusion-master\`,目录结构如下:
```bash
```bash
...
@@ -23,12 +23,12 @@ d----- 2023/7/10 14:48 tools
...
@@ -23,12 +23,12 @@ d----- 2023/7/10 14:48 tools
------ 2023/7/10 14:48 179 README.md
------ 2023/7/10 14:48 179 README.md
```
```
2. 安装 `
git
`
2. 安装 `
git
`
双击 `
D:
\a
wesome-stable-diffusion-master
\t
ools
\G
it-2.41.0.2-64-bit.exe
` 安装 `
git
`,安装过程中一路下一步即可。
双击 `
D:
\a
wesome-stable-diffusion-master
\t
ools
\G
it-2.41.0.2-64-bit.exe
` 安装 `
git
`,安装过程中一路下一步即可。
3. 安装 `
Python
`
3. 安装 `
Python
`
双击 `
D:
\a
wesome-stable-diffusion-master
\t
ools
\p
ython-3.10.11-amd64.exe
` 安装 `
Python
`,**安装过程中勾选 `
Add python.exe to PATH
`**,一路下一步即可。
双击 `
D:
\a
wesome-stable-diffusion-master
\t
ools
\p
ython-3.10.11-amd64.exe
` 安装 `
Python
`,**安装过程中勾选 `
Add python.exe to PATH
`**,一路下一步即可。
**注意:** 安装界面的第一步最下面就有`
Add python.exe to PATH
`选项,勾选后直接选第一个 `
Install Now
` 即可。
**注意:** 安装界面的第一步最下面就有`
Add python.exe to PATH
`选项,勾选后直接选第一个 `
Install Now
` 即可。
4. 安装 `
Stable Diffusion web UI
`
4. 安装 `
Stable Diffusion web UI
`
双击 `
D:
\a
wesome-stable-diffusion-master
\s
table-diffusion-webui
\w
ebui-user.bat
`
程序自动安装依赖,安装过程中过下载较大文件,耐心等待。
双击 `
D:
\a
wesome-stable-diffusion-master
\s
table-diffusion-webui
\w
ebui-user.bat
`
程序自动安装依赖,安装过程中过下载较大文件,耐心等待。
\ No newline at end of file
stable-diffusion-webui/modules/launch_utils.py
View file @
d75e576e
...
@@ -254,8 +254,10 @@ def prepare_environment():
...
@@ -254,8 +254,10 @@ def prepare_environment():
if
not
args
.
skip_python_version_check
:
if
not
args
.
skip_python_version_check
:
check_python_version
()
check_python_version
()
commit
=
commit_hash
()
# commit = commit_hash()
tag
=
git_tag
()
commit
=
'394ffa7b0a7fff3ec484bcd084e673a8b301ccc8'
# tag = git_tag()
tag
=
'v1.4.0'
print
(
f"Python
{
sys
.
version
}
"
)
print
(
f"Python
{
sys
.
version
}
"
)
print
(
f"Version:
{
tag
}
"
)
print
(
f"Version:
{
tag
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment