fix wildcard script

This commit is contained in:
Cyberes 2022-10-30 14:08:23 -06:00 committed by GitHub
parent ee7ae5d255
commit a67f61a4d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 9 deletions

View File

@ -261,15 +261,8 @@
" !cp -r \"{repo_storage_dir}/stable-diffusion-webui/txt2mask/repositories/clipseg\" \"{repo_storage_dir}/stable-diffusion-webui/repositories\"\n",
" !cp -r \"{repo_storage_dir}/stable-diffusion-webui/txt2mask/scripts/\" \"{repo_storage_dir}/stable-diffusion-webui/\"\n",
"\n",
" # Do the wildcard script\n",
" !mkdir -p \"{repo_storage_dir}/stable-diffusion-webui/scripts/wildcards\"\n",
" do_script_download([\n",
" 'jtkelm2/stable-diffusion-webui-1/master/scripts/wildcards/adjective.txt',\n",
" 'jtkelm2/stable-diffusion-webui-1/master/scripts/wildcards/artist.txt',\n",
" 'jtkelm2/stable-diffusion-webui-1/master/scripts/wildcards/genre.txt',\n",
" 'jtkelm2/stable-diffusion-webui-1/master/scripts/wildcards/site.txt',\n",
" 'jtkelm2/stable-diffusion-webui-1/master/scripts/wildcards/style.txt'\n",
" ], 'raw.githubusercontent.com', f'{repo_storage_dir}/stable-diffusion-webui/scripts/wildcards/')\n",
" # Install the dynamic-prompts/wildcard script\n",
" !git clone https://github.com/adieyal/sd-dynamic-prompting/ extensions/dynamic-prompts\n",
"\n",
"if activate_xformers:\n",
" # Completly remove cuda from your system\n",