Skip to content

Commit

Permalink
fix base_model bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aiXander committed Jan 5, 2025
1 parent 8fa9e97 commit 3b1e6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfyui.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def validate_url(url):

# if there's a lora, replace mentions with embedding name
if key == "prompt":
if "flux" in base_model:
if base_model == "flux-dev":
for lora_key in ["lora", "lora2"]:
if args.get(f"use_{lora_key}", False):
lora_strength = args.get(f"{lora_key}_strength", 0.7)
Expand Down

0 comments on commit 3b1e6b5

Please sign in to comment.