This commit is contained in:
Nakarin Satayasai
2023-11-03 11:12:47 +07:00
parent 5a427e73fc
commit 6dd3ff4c37
+1
View File
@@ -59,6 +59,7 @@ class CSVPromptsLoader():
df = pd.read_csv(path, index_col=0, dtype={
"name": 'string', "styles": 'string', "face": 'string', "cloth": 'string', "action": 'string', "face_action": 'string', "environment": 'string'})
df.fillna("")
if remove_extension == "On":
key = os.path.splitext(key)[0]