aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Stoeckli <github@rabanti.ch>2022-10-05 23:11:32 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-06 08:52:29 +0300
commit4288e53fc2ea25fa49715bf5b7f14603553c9e38 (patch)
treed9a1c2c8efd81ae130f5ae4c0bcd35a0f18d781e
parent2499fb4e1910d31ff12c24110f161b20641b8835 (diff)
removed unused import, fixed typo
-rw-r--r--modules/textual_inversion/preprocess.py3
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)