Upload abbiex15garrlexie.ipynb
Browse files- abbiex15garrlexie.ipynb +10 -6
abbiex15garrlexie.ipynb
CHANGED
|
@@ -23,7 +23,11 @@
|
|
| 23 |
"Babes_3.0_fp16\n",
|
| 24 |
"\n",
|
| 25 |
"https://civitai.com/api/download/models/235210?type=Model&format=SafeTensor&size=pruned&fp=fp16\n",
|
| 26 |
-
"MCBS_v3\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
"metadata": {
|
| 29 |
"id": "6nutgQLbUB_9"
|
|
@@ -43,12 +47,12 @@
|
|
| 43 |
"\n",
|
| 44 |
"# @title DOWNLOAD MODEL\n",
|
| 45 |
"\n",
|
| 46 |
-
"Model_url = 'https://
|
| 47 |
-
"Model_name = '
|
| 48 |
"if not Model_name.endswith('.safetensors'):\n",
|
| 49 |
" Model_name=Model_name+'.safetensors'\n",
|
| 50 |
"\n",
|
| 51 |
-
"!aria2c -c -x 16 -s 16 -k 1M
|
| 52 |
"print('\\nAvailable models :')\n",
|
| 53 |
"for MODEL in os.listdir('models'):\n",
|
| 54 |
" print(MODEL.replace('.safetensors',''))\n"
|
|
@@ -152,7 +156,7 @@
|
|
| 152 |
"from IPython.display import display\n",
|
| 153 |
"\n",
|
| 154 |
"os.makedirs(f'outputs',exist_ok=True)\n",
|
| 155 |
-
"MODEL_NAME = \"
|
| 156 |
"LOAD_TYPE = \"FP16 (FAST BUT AVERAGE QUALITY)\"# @param [\"FP32 (SLOW BUT GOOD QUALITY)\",\"FP16 (FAST BUT AVERAGE QUALITY)\"]\n",
|
| 157 |
"if not MODEL_NAME.endswith('.safetensors'):\n",
|
| 158 |
" MODEL_NAME=MODEL_NAME+'.safetensors'\n",
|
|
@@ -202,7 +206,7 @@
|
|
| 202 |
"CLIP_SKIP = 1 # @param {type:\"number\"}\n",
|
| 203 |
"SCHEDULER = \"DPMSolverMultistepScheduler\" # @param [\"DDIMParallelScheduler\",\"DDIMScheduler\",\"DDPMParallelScheduler\",\"DDPMScheduler\",\"DEISMultistepScheduler\",\"DPMSolverMultistepScheduler\",\"DPMSolverSDEScheduler\",\"DPMSolverSinglestepScheduler\",\"EulerAncestralDiscreteScheduler\",\"EulerDiscreteScheduler\",\"HeunDiscreteScheduler\",\"KDPM2AncestralDiscreteScheduler\",\"KDPM2DiscreteScheduler\",\"LMSDiscreteScheduler\",\"PNDMScheduler\",\"UniPCMultistepScheduler\"]\n",
|
| 204 |
"USE_KARRAS = True # @param {type:\"boolean\"}\n",
|
| 205 |
-
"NUMBER_OF_IMAGES =
|
| 206 |
"CLIP_SKIP = None if CLIP_SKIP == 1 else CLIP_SKIP - 1\n",
|
| 207 |
"\n",
|
| 208 |
"# Schedulers mapping: https://huggingface.co/docs/diffusers/api/schedulers/overview\n",
|
|
|
|
| 23 |
"Babes_3.0_fp16\n",
|
| 24 |
"\n",
|
| 25 |
"https://civitai.com/api/download/models/235210?type=Model&format=SafeTensor&size=pruned&fp=fp16\n",
|
| 26 |
+
"MCBS_v3\n",
|
| 27 |
+
"\n",
|
| 28 |
+
"\n",
|
| 29 |
+
"https://huggingface.co/LibreSD/NovelAI/resolve/main/animefull-prevgood.safetensors?download=true\n",
|
| 30 |
+
"NovelAI3"
|
| 31 |
],
|
| 32 |
"metadata": {
|
| 33 |
"id": "6nutgQLbUB_9"
|
|
|
|
| 47 |
"\n",
|
| 48 |
"# @title DOWNLOAD MODEL\n",
|
| 49 |
"\n",
|
| 50 |
+
"Model_url = 'https://huggingface.co/LibreSD/NovelAI/resolve/main/animefull-prevgood.safetensors?download=true'# @param {type:\"string\"}\n",
|
| 51 |
+
"Model_name = 'NovelAI3'# @param {type:\"string\"}\n",
|
| 52 |
"if not Model_name.endswith('.safetensors'):\n",
|
| 53 |
" Model_name=Model_name+'.safetensors'\n",
|
| 54 |
"\n",
|
| 55 |
+
"!aria2c -c -x 16 -s 16 -k 1M {Model_url} --summary-interval=3 --console-log-level=notice -d models -o {Model_name}\n",
|
| 56 |
"print('\\nAvailable models :')\n",
|
| 57 |
"for MODEL in os.listdir('models'):\n",
|
| 58 |
" print(MODEL.replace('.safetensors',''))\n"
|
|
|
|
| 156 |
"from IPython.display import display\n",
|
| 157 |
"\n",
|
| 158 |
"os.makedirs(f'outputs',exist_ok=True)\n",
|
| 159 |
+
"MODEL_NAME = \"NovelAI3\"# @param {type:\"string\"}\n",
|
| 160 |
"LOAD_TYPE = \"FP16 (FAST BUT AVERAGE QUALITY)\"# @param [\"FP32 (SLOW BUT GOOD QUALITY)\",\"FP16 (FAST BUT AVERAGE QUALITY)\"]\n",
|
| 161 |
"if not MODEL_NAME.endswith('.safetensors'):\n",
|
| 162 |
" MODEL_NAME=MODEL_NAME+'.safetensors'\n",
|
|
|
|
| 206 |
"CLIP_SKIP = 1 # @param {type:\"number\"}\n",
|
| 207 |
"SCHEDULER = \"DPMSolverMultistepScheduler\" # @param [\"DDIMParallelScheduler\",\"DDIMScheduler\",\"DDPMParallelScheduler\",\"DDPMScheduler\",\"DEISMultistepScheduler\",\"DPMSolverMultistepScheduler\",\"DPMSolverSDEScheduler\",\"DPMSolverSinglestepScheduler\",\"EulerAncestralDiscreteScheduler\",\"EulerDiscreteScheduler\",\"HeunDiscreteScheduler\",\"KDPM2AncestralDiscreteScheduler\",\"KDPM2DiscreteScheduler\",\"LMSDiscreteScheduler\",\"PNDMScheduler\",\"UniPCMultistepScheduler\"]\n",
|
| 208 |
"USE_KARRAS = True # @param {type:\"boolean\"}\n",
|
| 209 |
+
"NUMBER_OF_IMAGES = 4 # @param {type:\"number\"}\n",
|
| 210 |
"CLIP_SKIP = None if CLIP_SKIP == 1 else CLIP_SKIP - 1\n",
|
| 211 |
"\n",
|
| 212 |
"# Schedulers mapping: https://huggingface.co/docs/diffusers/api/schedulers/overview\n",
|