Upload dc.py
Browse files
dc.py
CHANGED
@@ -858,7 +858,7 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
|
|
858 |
prompt, negative_prompt = insert_model_recom_prompt(prompt, negative_prompt, model_name, recom_prompt)
|
859 |
progress(0.5, desc="Preparing...")
|
860 |
lora1, lora1_wt, lora2, lora2_wt, lora3, lora3_wt, lora4, lora4_wt, lora5, lora5_wt, lora6, lora6_wt, lora7, lora7_wt = \
|
861 |
-
set_prompt_loras(prompt, model_name, lora1, lora1_wt, lora2, lora2_wt, lora3, lora3_wt, lora4, lora4_wt, lora5, lora5_wt, lora6, lora6_wt, lora7, lora7_wt)
|
862 |
lora1 = get_valid_lora_path(lora1)
|
863 |
lora2 = get_valid_lora_path(lora2)
|
864 |
lora3 = get_valid_lora_path(lora3)
|
|
|
858 |
prompt, negative_prompt = insert_model_recom_prompt(prompt, negative_prompt, model_name, recom_prompt)
|
859 |
progress(0.5, desc="Preparing...")
|
860 |
lora1, lora1_wt, lora2, lora2_wt, lora3, lora3_wt, lora4, lora4_wt, lora5, lora5_wt, lora6, lora6_wt, lora7, lora7_wt = \
|
861 |
+
set_prompt_loras(prompt, prompt_syntax, model_name, lora1, lora1_wt, lora2, lora2_wt, lora3, lora3_wt, lora4, lora4_wt, lora5, lora5_wt, lora6, lora6_wt, lora7, lora7_wt)
|
862 |
lora1 = get_valid_lora_path(lora1)
|
863 |
lora2 = get_valid_lora_path(lora2)
|
864 |
lora3 = get_valid_lora_path(lora3)
|