carloscar commited on
Commit
5cdd354
1 Parent(s): 7614c1f

bad_prompt_version2 embedding

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. on_start.sh +7 -2
README.md CHANGED
@@ -88,6 +88,7 @@ Some models such as additional checkpoints, VAE, LoRA, etc. may already be prese
88
  * [Checkpoint · A to Zovya RPG Artist's Tools (1.5 & 2.1)](https://civitai.com/models/8124/a-to-zovya-rpg-artists-tools-15-and-21)
89
  * [LoRA · epi_noiseoffset v2](https://civitai.com/models/13941/epinoiseoffset)
90
  * [VAE · sd-vae-ft-mse-original](https://huggingface.co/stabilityai/sd-vae-ft-mse-original)
 
91
  * See [https://huggingface.co/models?filter=stable-diffusion](https://huggingface.co/models?filter=stable-diffusion) and [https://civitai.com/](https://civitai.com/) for more.
92
 
93
  Visit the individual model pages for more information on the models and their licenses.
 
88
  * [Checkpoint · A to Zovya RPG Artist's Tools (1.5 & 2.1)](https://civitai.com/models/8124/a-to-zovya-rpg-artists-tools-15-and-21)
89
  * [LoRA · epi_noiseoffset v2](https://civitai.com/models/13941/epinoiseoffset)
90
  * [VAE · sd-vae-ft-mse-original](https://huggingface.co/stabilityai/sd-vae-ft-mse-original)
91
+ * [Embedding · bad_prompt_version2](https://huggingface.co/datasets/Nerfgun3/bad_prompt)
92
  * See [https://huggingface.co/models?filter=stable-diffusion](https://huggingface.co/models?filter=stable-diffusion) and [https://civitai.com/](https://civitai.com/) for more.
93
 
94
  Visit the individual model pages for more information on the models and their licenses.
on_start.sh CHANGED
@@ -7,7 +7,7 @@ function download-model() {
7
  local _url=$3
8
  local _dir
9
 
10
- ! [ $# -eq 3 ] && (echo "usage: "; for o in checkpoint lora vae control-net; do echo " \$ download-model --$o <filename> <url>"; done) || true
11
  [ $# -eq 0 ] && return 0 || ! [ $# -eq 3 ] && (echo ""; echo "error - invalid number of arguments (expected 3, received $#)"; echo -n "\$ download-model $1"; (for arg in "${@: 2}"; do echo -n " \"${arg//\"/\\\"}\""; done) && echo "") && return 1 || true
12
 
13
  case ${_option,,} in
@@ -15,8 +15,9 @@ function download-model() {
15
  --lora) _dir="/app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/LoRA";;
16
  --vae) _dir="/app/stable-diffusion-webui/models/VAE";;
17
  --control-net) _dir="/app/stable-diffusion-webui/models/ControlNet";;
 
18
 
19
- *) echo "error - unknown first argument: '$1' (valid options are --checkpoint, --lora, --vae or --control-net):"; echo "\$ download-model $1 \"$2\" \"$3\""; return 1;;
20
  esac
21
 
22
  echo "\$ download-model $_option \"$2\" \"$3\"" ; echo ""
@@ -57,6 +58,9 @@ download-model --control-net "control_scribble-fp16.safetensors" "https://huggin
57
 
58
  ## ----------------------------
59
 
 
 
 
60
  ## Checkpoint · The Ally's Mix III: Revolutions:
61
  download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.com/api/download/models/12763?type=Model&format=SafeTensor"
62
 
@@ -91,6 +95,7 @@ download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.co
91
  ## download-model --lora <filename> <url>
92
  ## download-model --vae <filename> <url>
93
  ## download-model --control-net <filename> <url>
 
94
 
95
  ## ----------------------------
96
 
 
7
  local _url=$3
8
  local _dir
9
 
10
+ ! [ $# -eq 3 ] && (echo "usage: "; for o in checkpoint lora vae control-net embedding; do echo " \$ download-model --$o <filename> <url>"; done) || true
11
  [ $# -eq 0 ] && return 0 || ! [ $# -eq 3 ] && (echo ""; echo "error - invalid number of arguments (expected 3, received $#)"; echo -n "\$ download-model $1"; (for arg in "${@: 2}"; do echo -n " \"${arg//\"/\\\"}\""; done) && echo "") && return 1 || true
12
 
13
  case ${_option,,} in
 
15
  --lora) _dir="/app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/LoRA";;
16
  --vae) _dir="/app/stable-diffusion-webui/models/VAE";;
17
  --control-net) _dir="/app/stable-diffusion-webui/models/ControlNet";;
18
+ --embedding) _dir="/app/stable-diffusion-webui/embeddings";;
19
 
20
+ *) echo "error - unknown first argument: '$1' (valid options are --checkpoint, --lora, --vae, --control-net or --embedding):"; echo "\$ download-model $1 \"$2\" \"$3\""; return 1;;
21
  esac
22
 
23
  echo "\$ download-model $_option \"$2\" \"$3\"" ; echo ""
 
58
 
59
  ## ----------------------------
60
 
61
+ ## Embedding · bad_prompt_version2
62
+ download-model --embedding "bad_prompt_version2.pt" "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/72fd9d6011c2ba87b5847b7e45e6603917e3cbed/bad_prompt_version2.pt"
63
+
64
  ## Checkpoint · The Ally's Mix III: Revolutions:
65
  download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.com/api/download/models/12763?type=Model&format=SafeTensor"
66
 
 
95
  ## download-model --lora <filename> <url>
96
  ## download-model --vae <filename> <url>
97
  ## download-model --control-net <filename> <url>
98
+ ## download-model --embedding <filename> <url>
99
 
100
  ## ----------------------------
101