preprocess algo is optimized and some code parts are refactored

This commit is contained in:
alpertunga-bile
2023-11-29 23:43:38 +03:00
parent 22bdd0f276
commit b82f11460b
11 changed files with 39 additions and 33 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class PromptGenerator:
[
file
for file in listdir(join(models_dir, "prompt_generators"))
if isdir(join(join(models_dir, "prompt_generators"), file))
if isdir(join(models_dir, "prompt_generators", file))
],
),
"accelerate": (["enable", "disable"],),