Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
2c9777fc
Commit
2c9777fc
authored
Sep 20, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b9674e29
c2775528
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
launch.py
launch.py
+2
-2
webui-user.sh
webui-user.sh
+12
-12
No files found.
launch.py
View file @
2c9777fc
...
@@ -123,5 +123,5 @@ def start_webui():
...
@@ -123,5 +123,5 @@ def start_webui():
import
webui
import
webui
webui
.
webui
()
webui
.
webui
()
if
__name__
==
"__main__"
:
start_webui
()
start_webui
()
webui-user.sh
View file @
2c9777fc
#!/bin/bash
#!/bin/bash
###########################################
###########################################
##############
#
C
hange the variables below to your need:#
#
Uncomment and c
hange the variables below to your need:#
###########################################
###########################################
##############
# Install directory without trailing slash
# Install directory without trailing slash
install_dir
=
"/home/
$(
whoami
)
"
#
install_dir="/home/$(whoami)"
# Name of the subdirectory
(defaults to stable-diffusion-webui)
# Name of the subdirectory
clone_dir
=
"stable-diffusion-webui"
#
clone_dir="stable-diffusion-webui"
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS=
(--medvram --opt-split-attention)
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS=
"--medvram --opt-split-attention"
export
COMMANDLINE_ARGS
=
""
export
COMMANDLINE_ARGS
=
""
# python3 executable
# python3 executable
python_cmd
=
"python3"
#
python_cmd="python3"
# git executable
# git executable
#export GIT=""
#export GIT="
git
"
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
venv_dir
=
"venv"
#
venv_dir="venv"
# install command for torch
# install command for torch
export
TORCH_COMMAND
=
"pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
#
export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
# Requirements file to use for stable-diffusion-webui
# Requirements file to use for stable-diffusion-webui
#export REQS_FILE=""
#export REQS_FILE="
requirements_versions.txt
"
# Fixed git repos
# Fixed git repos
#export K_DIFFUSION_PACKAGE=""
#export K_DIFFUSION_PACKAGE=""
...
...
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