fix: set default lora_model_dir to . (#1224)

This commit is contained in:
leejet 2026-01-23 22:13:59 +08:00 committed by GitHub
parent 5e4579c11d
commit fa61ea744d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -445,7 +445,7 @@ struct SDContextParams {
std::string photo_maker_path; std::string photo_maker_path;
sd_type_t wtype = SD_TYPE_COUNT; sd_type_t wtype = SD_TYPE_COUNT;
std::string tensor_type_rules; std::string tensor_type_rules;
std::string lora_model_dir; std::string lora_model_dir = ".";
std::map<std::string, std::string> embedding_map; std::map<std::string, std::string> embedding_map;
std::vector<sd_embedding_t> embedding_vec; std::vector<sd_embedding_t> embedding_vec;