Upload sdwui-start-util.dev.ipynb
Browse files
sdwui-start-util.dev.ipynb
CHANGED
|
@@ -284,6 +284,8 @@
|
|
| 284 |
"os.environ['google_drive'] = google_drive\n",
|
| 285 |
"os.environ['input_path'] = _input_path\n",
|
| 286 |
"\n",
|
|
|
|
|
|
|
| 287 |
"def replace_path(input_str:str):\n",
|
| 288 |
" if not input_str: return ''\n",
|
| 289 |
" for key in _config_args:\n",
|
|
@@ -300,8 +302,8 @@
|
|
| 300 |
" .replace('{output_path}',_output_path)\\\n",
|
| 301 |
" .replace('{sdwui}','stable-diffusion-webui')\\\n",
|
| 302 |
" .replace('{wui}',\"webui\")\n",
|
|
|
|
| 303 |
"\n",
|
| 304 |
-
"space_string = ' \\n\\r\\t\\'\\\",'\n",
|
| 305 |
"\n",
|
| 306 |
"def config_reader(conf:str):\n",
|
| 307 |
" conf = conf or \"\"\n",
|
|
|
|
| 284 |
"os.environ['google_drive'] = google_drive\n",
|
| 285 |
"os.environ['input_path'] = _input_path\n",
|
| 286 |
"\n",
|
| 287 |
+
"space_string = ' \\n\\r\\t\\'\\\",'\n",
|
| 288 |
+
"\n",
|
| 289 |
"def replace_path(input_str:str):\n",
|
| 290 |
" if not input_str: return ''\n",
|
| 291 |
" for key in _config_args:\n",
|
|
|
|
| 302 |
" .replace('{output_path}',_output_path)\\\n",
|
| 303 |
" .replace('{sdwui}','stable-diffusion-webui')\\\n",
|
| 304 |
" .replace('{wui}',\"webui\")\n",
|
| 305 |
+
" .strip()\n",
|
| 306 |
"\n",
|
|
|
|
| 307 |
"\n",
|
| 308 |
"def config_reader(conf:str):\n",
|
| 309 |
" conf = conf or \"\"\n",
|