mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-05-20 20:36:21 +01:00
fix SDXL workflow
This commit is contained in:
parent
8be2111e6c
commit
ab1c0c3913
@ -102,7 +102,7 @@ def generate_image(
|
|||||||
|
|
||||||
# Conditionally set model if node and param are provided
|
# Conditionally set model if node and param are provided
|
||||||
if model_node and model_param:
|
if model_node and model_param:
|
||||||
if user_config["comfyui"].get("FLUX"):
|
if "FLUX" in workflow_path:
|
||||||
valid_models = user_config["comfyui:flux"]["models"].split(",")
|
valid_models = user_config["comfyui:flux"]["models"].split(",")
|
||||||
else:
|
else:
|
||||||
available_model_list = user_config["comfyui"]["models"].split(",")
|
available_model_list = user_config["comfyui"]["models"].split(",")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user