yui-futao commited on
Commit
3ceedd5
·
1 Parent(s): 99c7b99

Update setup_webui_yui.ipynb

Browse files
Files changed (1) hide show
  1. setup_webui_yui.ipynb +39 -10
setup_webui_yui.ipynb CHANGED
@@ -25,6 +25,22 @@
25
  "!pip install --upgrade gdown"
26
  ]
27
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  {
29
  "cell_type": "code",
30
  "execution_count": null,
@@ -46,17 +62,25 @@
46
  "metadata": {},
47
  "outputs": [],
48
  "source": [
49
- "## Additional models download for yui\n",
50
  "\n",
51
  "### CKPT\n",
52
  "%cd /notebooks/stable-diffusion-webui/models/Stable-diffusion/\n",
53
  "!wget https://huggingface.co/syaimu/7th_Layer/resolve/main/7th_anime_v3/7th_anime_v3_B.safetensors # \n",
54
  "!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1.safetensors # 2.13 GB\n",
 
 
55
  "\n",
56
  "### VAE\n",
57
  "%cd /notebooks/stable-diffusion-webui/models/VAE/\n",
58
  "!wget https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0.vae.pt\n",
59
  "\n",
 
 
 
 
 
 
60
  "### LoRA\n",
61
  "%cd /notebooks/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/\n",
62
  "!wget https://huggingface.co/yui-futao/LoRA-fto/resolve/main/fto-v43.safetensors\n",
@@ -73,26 +97,31 @@
73
  {
74
  "cell_type": "code",
75
  "execution_count": null,
76
- "id": "ca0e037f-4f6d-4122-9b4e-0ce8853e2bf3",
77
  "metadata": {},
78
  "outputs": [],
79
  "source": [
80
- "# web-uiの起動\n",
81
- "# ログイン用のユーザーネームとパスワードは --gradio-auth ユーザーネーム:パスワード となる。書き換え推奨。\n",
82
- "%cd /notebooks/stable-diffusion-webui\n",
83
- "!python launch.py --share --enable-insecure-extension-access --gradio-auth yui:Kokoga-Password-Dayo"
84
  ]
85
  },
86
  {
87
  "cell_type": "code",
88
  "execution_count": null,
89
- "id": "5d7a0b98-720c-4d6f-bf51-966114128c63",
90
  "metadata": {},
91
  "outputs": [],
92
  "source": [
93
- "# config.json の復元\n",
94
- "%cd /notebooks/stable-diffusion-webui/\n",
95
- "!wget https://huggingface.co/datasets/yui-futao/notebooks/raw/main/config.json"
 
 
 
 
 
 
96
  ]
97
  }
98
  ],
 
25
  "!pip install --upgrade gdown"
26
  ]
27
  },
28
+ {
29
+ "cell_type": "code",
30
+ "execution_count": null,
31
+ "id": "22601392",
32
+ "metadata": {},
33
+ "outputs": [],
34
+ "source": [
35
+ "# install extensions\n",
36
+ "%cd /notebooks/stable-diffusion-webui/extensions\n",
37
+ "!git clone https://github.com/kohya-ss/sd-webui-additional-networks\n",
38
+ "!git clone https://github.com/Mikubill/sd-webui-controlnet.git\n",
39
+ "!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser\t\n",
40
+ "!git clone https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git\n",
41
+ "!git clone https://github.com/toriato/stable-diffusion-webui-daam.git"
42
+ ]
43
+ },
44
  {
45
  "cell_type": "code",
46
  "execution_count": null,
 
62
  "metadata": {},
63
  "outputs": [],
64
  "source": [
65
+ "## download models\n",
66
  "\n",
67
  "### CKPT\n",
68
  "%cd /notebooks/stable-diffusion-webui/models/Stable-diffusion/\n",
69
  "!wget https://huggingface.co/syaimu/7th_Layer/resolve/main/7th_anime_v3/7th_anime_v3_B.safetensors # \n",
70
  "!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1.safetensors # 2.13 GB\n",
71
+ "!wget https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5.safetensors # 7.7 GB\n",
72
+ "!wget https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/ElyOrangeMix/ElyNightOrangeMix.ckpt # 4.27 GB\n",
73
  "\n",
74
  "### VAE\n",
75
  "%cd /notebooks/stable-diffusion-webui/models/VAE/\n",
76
  "!wget https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0.vae.pt\n",
77
  "\n",
78
+ "### EMBEDDED\n",
79
+ "%cd /notebooks/stable-diffusion-webui/embeddings/\n",
80
+ "!wget https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_version2.pt\n",
81
+ "!wget https://huggingface.co/datasets/gsdf/EasyNegative/resolve/main/EasyNegative.safetensors\n",
82
+ "!wget https://huggingface.co/nick-x-hacker/bad-artist/resolve/main/bad-artist.pt\n",
83
+ "\n",
84
  "### LoRA\n",
85
  "%cd /notebooks/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/\n",
86
  "!wget https://huggingface.co/yui-futao/LoRA-fto/resolve/main/fto-v43.safetensors\n",
 
97
  {
98
  "cell_type": "code",
99
  "execution_count": null,
100
+ "id": "5d7a0b98-720c-4d6f-bf51-966114128c63",
101
  "metadata": {},
102
  "outputs": [],
103
  "source": [
104
+ "# config.json の復元\n",
105
+ "%cd /notebooks/stable-diffusion-webui/\n",
106
+ "!wget https://huggingface.co/datasets/yui-futao/notebooks/raw/main/config.json"
 
107
  ]
108
  },
109
  {
110
  "cell_type": "code",
111
  "execution_count": null,
112
+ "id": "ca0e037f-4f6d-4122-9b4e-0ce8853e2bf3",
113
  "metadata": {},
114
  "outputs": [],
115
  "source": [
116
+ "# web-uiの起動\n",
117
+ "# ログイン用のユーザーネームとパスワードは --gradio-auth ユーザーネーム:パスワード となる。書き換え推奨。\n",
118
+ "%cd /notebooks/stable-diffusion-webui\n",
119
+ "!python launch.py\\\n",
120
+ "--gradio-auth yui:Kokoga-Password-Dayo\\\n",
121
+ "--share\\\n",
122
+ "--no-half-vae\\\n",
123
+ "--skip-version-check\\\n",
124
+ "--enable-insecure-extension-access"
125
  ]
126
  }
127
  ],