diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 13872d453..fe3850b57 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -1058,7 +1058,7 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs) spec.path = sd_params->lora_paths[i].c_str(); spec.multiplier = multiplier; lora_specs.push_back(spec); - std::string lora_name = std::filesystem::path(sd_params->lora_paths[i]).stem(); + std::string lora_name = std::filesystem::path(sd_params->lora_paths[i]).stem().string(); lora_meta << ""; } }