Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
4e485b79
Commit
4e485b79
authored
Oct 11, 2022
by
JamnedZ
Committed by
AUTOMATIC1111
Oct 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added installation of pyngrok if needed
parent
210fd72b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
launch.py
launch.py
+4
-0
No files found.
launch.py
View file @
4e485b79
...
...
@@ -104,6 +104,7 @@ def prepare_enviroment():
args
,
skip_torch_cuda_test
=
extract_arg
(
args
,
'--skip-torch-cuda-test'
)
xformers
=
'--xformers'
in
args
deepdanbooru
=
'--deepdanbooru'
in
args
ngrok
=
'--ngrok'
in
args
try
:
commit
=
run
(
f
"{git} rev-parse HEAD"
)
.
strip
()
...
...
@@ -134,6 +135,9 @@ def prepare_enviroment():
if
not
is_installed
(
"deepdanbooru"
)
and
deepdanbooru
:
run_pip
(
"install git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26#egg=deepdanbooru[tensorflow] tensorflow==2.10.0 tensorflow-io==0.27.0"
,
"deepdanbooru"
)
if
not
is_installed
(
"pyngrok"
)
and
ngrok
:
run_pip
(
"install pyngrok"
,
"ngrok"
)
os
.
makedirs
(
dir_repos
,
exist_ok
=
True
)
git_clone
(
"https://github.com/CompVis/stable-diffusion.git"
,
repo_dir
(
'stable-diffusion'
),
"Stable Diffusion"
,
stable_diffusion_commit_hash
)
...
...
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