QuintW commited on
Commit
dace73d
1 Parent(s): 597b91e

update ignore for api

Browse files
Files changed (3) hide show
  1. .gitignore +0 -2
  2. webui-user.bat +9 -0
  3. webui-user.sh +48 -0
.gitignore CHANGED
@@ -20,8 +20,6 @@ __pycache__
20
  /styles.csv
21
  /params.txt
22
  /styles.csv.bak
23
- /webui-user.bat
24
- /webui-user.sh
25
  /interrogate
26
  /user.css
27
  /.idea
 
20
  /styles.csv
21
  /params.txt
22
  /styles.csv.bak
 
 
23
  /interrogate
24
  /user.css
25
  /.idea
webui-user.bat ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+
3
+ set PYTHON=
4
+ set GIT=
5
+ set VENV_DIR=
6
+ set COMMANDLINE_ARGS=--api
7
+
8
+ call git pull
9
+ call webui.bat --opt-sdp-no-mem-attention --no-half-vae --opt-channelslast
webui-user.sh ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ #########################################################
3
+ # Uncomment and change the variables below to your need:#
4
+ #########################################################
5
+
6
+ # Install directory without trailing slash
7
+ #install_dir="/home/$(whoami)"
8
+
9
+ # Name of the subdirectory
10
+ #clone_dir="stable-diffusion-webui"
11
+
12
+ # Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
13
+ #export COMMANDLINE_ARGS=""
14
+
15
+ # python3 executable
16
+ #python_cmd="python3"
17
+
18
+ # git executable
19
+ #export GIT="git"
20
+
21
+ # python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
22
+ #venv_dir="venv"
23
+
24
+ # script to launch to start the app
25
+ #export LAUNCH_SCRIPT="launch.py"
26
+
27
+ # install command for torch
28
+ #export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
29
+
30
+ # Requirements file to use for stable-diffusion-webui
31
+ #export REQS_FILE="requirements_versions.txt"
32
+
33
+ # Fixed git repos
34
+ #export K_DIFFUSION_PACKAGE=""
35
+ #export GFPGAN_PACKAGE=""
36
+
37
+ # Fixed git commits
38
+ #export STABLE_DIFFUSION_COMMIT_HASH=""
39
+ #export CODEFORMER_COMMIT_HASH=""
40
+ #export BLIP_COMMIT_HASH=""
41
+
42
+ # Uncomment to enable accelerated launch
43
+ #export ACCELERATE="True"
44
+
45
+ # Uncomment to disable TCMalloc
46
+ #export NO_TCMALLOC="True"
47
+
48
+ ###########################################