summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-12-24 08:32:02 +0100
committerVolpeon <git@volpeon.ink>2022-12-24 08:32:02 +0100
commit7218588c03be1e7fa5566b8836826e6b1c9065d2 (patch)
treea3f2c931e9f4e1469c3d1b524f4587d79904720f /data
parentBetter dataset prompt handling (diff)
downloadtextual-inversion-diff-7218588c03be1e7fa5566b8836826e6b1c9065d2.tar.gz
textual-inversion-diff-7218588c03be1e7fa5566b8836826e6b1c9065d2.tar.bz2
textual-inversion-diff-7218588c03be1e7fa5566b8836826e6b1c9065d2.zip
Fix
Diffstat (limited to 'data')
-rw-r--r--data/csv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/csv.py b/data/csv.py
index 265293b..b45ac77 100644
--- a/data/csv.py
+++ b/data/csv.py
@@ -106,11 +106,11 @@ class CSVDataModule():
106 expansions 106 expansions
107 ), 107 ),
108 prompt_to_keywords( 108 prompt_to_keywords(
109 cprompt.format(**prepare_prompt(item["cprompt"] if "cprompt" in item else "")), 109 cprompt.format(**prepare_prompt(item["prompt"] if "prompt" in item else "")),
110 expansions 110 expansions
111 ), 111 ),
112 prompt_to_keywords( 112 prompt_to_keywords(
113 prompt.format(**prepare_prompt(item["nprompt"] if "nprompt" in item else "")), 113 nprompt.format(**prepare_prompt(item["nprompt"] if "nprompt" in item else "")),
114 expansions 114 expansions
115 ), 115 ),
116 ) 116 )