1
0
mirror of https://github.com/karl0ss/ai_image_frame_server.git synced 2025-05-20 12:36:19 +01:00

fix SDXL workflow

This commit is contained in:
Karl 2025-05-16 08:14:34 +01:00
parent 8be2111e6c
commit ab1c0c3913

@ -102,7 +102,7 @@ def generate_image(
# Conditionally set model if node and param are provided
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(",")
else:
available_model_list = user_config["comfyui"]["models"].split(",")