Add files via upload

This commit is contained in:
Cyberes 2022-10-07 13:17:53 -06:00 committed by GitHub
parent 2bcbd57977
commit 1bbc56b099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,14 @@
"!pip install -e ."
]
},
{
"cell_type": "markdown",
"id": "e201a6a3-b488-41c7-91d0-c9863f51e178",
"metadata": {},
"source": [
"Now upload the images you want to feed into the AI to `/notebooks/textual inversion/source/`."
]
},
{
"cell_type": "code",
"execution_count": null,
@ -135,6 +143,7 @@
"from datetime import datetime\n",
"datetime_str = datetime.now().strftime('%m-%d-%Y_%H-%M-%S')\n",
"\n",
"!rm -rf \"{source_image_directory}/.ipynb_checkpoints\"\n",
"!python \"main.py\" \\\n",
" --base \"{config_path}\" \\\n",
" -t --no-test \\\n",