Skip to content

Commit

Permalink
working sdxl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed May 20, 2024
1 parent df16b58 commit 3858214
Show file tree
Hide file tree
Showing 5 changed files with 563 additions and 2,522 deletions.
6 changes: 6 additions & 0 deletions hordelib/horde.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,12 @@ def _final_pipeline_adjustments(self, payload, pipeline_data) -> tuple[dict, lis
pipeline_params["qr_code_split.protocol"] = "None"
if not pipeline_params.get("function_layer_prompt.text"):
pipeline_params["function_layer_prompt.text"] = payload["prompt"]
if SharedModelManager.manager.compvis:
model_details = SharedModelManager.manager.compvis.get_model_reference_info(payload["model_name"])
if model_details and model_details.get("baseline") == "stable diffusion 1":
pipeline_params["controlnet_qr_model_loader.control_net_name"] = (
"control_v1p_sd15_qrcode_monster_v2.safetensors"
)

return pipeline_params, faults

Expand Down
Loading

0 comments on commit 3858214

Please sign in to comment.