Skip to content

Commit 51b53d4

Browse files
committed
chore: typo remote => remove
1 parent 0d9b801 commit 51b53d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stable-diffusion.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4635,14 +4635,14 @@ std::vector<uint8_t> StableDiffusion::txt2img(std::string prompt,
46354635
}
46364636
sd->rng->manual_seed(seed);
46374637

4638-
// extract and remote lora
4638+
// extract and remove lora
46394639
auto result_pair = extract_and_remove_lora(prompt);
46404640
std::unordered_map<std::string, float> lora_f2m = result_pair.first; // lora_name -> multiplier
46414641
for (auto& kv : lora_f2m) {
46424642
LOG_DEBUG("lora %s:%.2f", kv.first.c_str(), kv.second);
46434643
}
46444644
prompt = result_pair.second;
4645-
LOG_DEBUG("prompt after extract and remote lora: \"%s\"", prompt.c_str());
4645+
LOG_DEBUG("prompt after extract and remove lora: \"%s\"", prompt.c_str());
46464646

46474647
// load lora from file
46484648
int64_t t0 = ggml_time_ms();
@@ -4750,14 +4750,14 @@ std::vector<uint8_t> StableDiffusion::img2img(const std::vector<uint8_t>& init_i
47504750
}
47514751
sd->rng->manual_seed(seed);
47524752

4753-
// extract and remote lora
4753+
// extract and remove lora
47544754
auto result_pair = extract_and_remove_lora(prompt);
47554755
std::unordered_map<std::string, float> lora_f2m = result_pair.first; // lora_name -> multiplier
47564756
for (auto& kv : lora_f2m) {
47574757
LOG_DEBUG("lora %s:%.2f", kv.first.c_str(), kv.second);
47584758
}
47594759
prompt = result_pair.second;
4760-
LOG_DEBUG("prompt after extract and remote lora: \"%s\"", prompt.c_str());
4760+
LOG_DEBUG("prompt after extract and remove lora: \"%s\"", prompt.c_str());
47614761

47624762
// load lora from file
47634763
int64_t t0 = ggml_time_ms();

0 commit comments

Comments
 (0)