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
d18daafb
Commit
d18daafb
authored
Sep 30, 2022
by
Andrew Savchyn
Committed by
AUTOMATIC1111
Sep 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uppercase for env var LAUNCH_SCRIPT
parent
fcfe2e9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
webui-user.sh
webui-user.sh
+1
-1
webui.sh
webui.sh
+3
-3
No files found.
webui-user.sh
View file @
d18daafb
...
...
@@ -22,7 +22,7 @@ export COMMANDLINE_ARGS=""
#venv_dir="venv"
# script to launch to start the app
#export
launch_script
="launch.py"
#export
LAUNCH_SCRIPT
="launch.py"
# install command for torch
#export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
...
...
webui.sh
View file @
d18daafb
...
...
@@ -41,9 +41,9 @@ then
venv_dir
=
"venv"
fi
if
[[
-z
"
${
launch_script
}
"
]]
if
[[
-z
"
${
LAUNCH_SCRIPT
}
"
]]
then
launch_script
=
"launch.py"
LAUNCH_SCRIPT
=
"launch.py"
fi
# Disable sentry logging
...
...
@@ -138,4 +138,4 @@ fi
printf
"
\n
%s
\n
"
"
${
delimiter
}
"
printf
"Launching launch.py..."
printf
"
\n
%s
\n
"
"
${
delimiter
}
"
"
${
python_cmd
}
"
"
${
launch_script
}
"
"
${
python_cmd
}
"
"
${
LAUNCH_SCRIPT
}
"
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