fix a typo

This commit is contained in:
vahidrezanezhad 2026-02-19 00:04:42 +01:00
parent 77adcbea8a
commit a84ae67e7a

View file

@ -566,7 +566,7 @@ def run(
if i >=0: if i >=0:
model.save( os.path.join(dir_output,'model_'+str(i) )) model.save( os.path.join(dir_output,'model_'+str(i) ))
os.system("cp "+characters_txt_file+" "+os.path.join(os.path.join(dir_output,'model_'+str(i)),"characters_org.txt") os.system("cp "+characters_txt_file+" "+os.path.join(os.path.join(dir_output,'model_'+str(i)),"characters_org.txt"))
with open(os.path.join(os.path.join(dir_output,'model_'+str(i)),"config_eynollah.json"), "w") as fp: with open(os.path.join(os.path.join(dir_output,'model_'+str(i)),"config_eynollah.json"), "w") as fp:
json.dump(_config, fp) # encode dict into JSON json.dump(_config, fp) # encode dict into JSON