diff options
author | Raphael Stoeckli <github@rabanti.ch> | 2022-10-05 21:11:32 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-06 05:52:29 +0000 |
commit | 4288e53fc2ea25fa49715bf5b7f14603553c9e38 (patch) | |
tree | d9a1c2c8efd81ae130f5ae4c0bcd35a0f18d781e /modules/textual_inversion | |
parent | 2499fb4e1910d31ff12c24110f161b20641b8835 (diff) | |
download | stable-diffusion-webui-gfx803-4288e53fc2ea25fa49715bf5b7f14603553c9e38.tar.gz stable-diffusion-webui-gfx803-4288e53fc2ea25fa49715bf5b7f14603553c9e38.tar.bz2 stable-diffusion-webui-gfx803-4288e53fc2ea25fa49715bf5b7f14603553c9e38.zip |
removed unused import, fixed typo
Diffstat (limited to 'modules/textual_inversion')
-rw-r--r-- | modules/textual_inversion/preprocess.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/textual_inversion/preprocess.py b/modules/textual_inversion/preprocess.py index 4f3df4bd..f1c002a2 100644 --- a/modules/textual_inversion/preprocess.py +++ b/modules/textual_inversion/preprocess.py @@ -1,4 +1,3 @@ -from cmath import log
import os
from PIL import Image, ImageOps
import platform
@@ -13,7 +12,7 @@ def preprocess(process_src, process_dst, process_flip, process_split, process_ca src = os.path.abspath(process_src)
dst = os.path.abspath(process_dst)
- assert src != dst, 'same directory specified as source and desitnation'
+ assert src != dst, 'same directory specified as source and destination'
os.makedirs(dst, exist_ok=True)
|