Skip to content

Commit

Permalink
experimental auto-workflows, with extra workflows on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 26, 2024
1 parent a6d9ceb commit 8bbce53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,12 @@ def parse_raw_output(full_output):


def main(args):
# Split the workflow file names using ","
workflow_files = args.comfy_workflow_names.split(",")
names = args.comfy_workflow_names
if names == "auto":
names = "sd15_default.json,sd15_lora.json,xl_default.json,xl_sketch_control.json"
if args.os == "linux":
names += ",sd3_default.json,sd3_multi_prompt.json,sd3-single-t5.json"
workflow_files = names.split(",")
print("Running workflows")
counter = 1

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ inputs:
workflow_filenames:
description: "The list of workflow filenames is listed in the workflows/ directory. Separate by comma, e.g., 'workflow1.json,workflow2.json'."
required: false
default: 'sd15_default.json,sd15_lora.json,xl_default.json,xl_sketch_control.json'
default: 'auto'
comfyui_flags:
description: "Flags to pass to the comfyui application. eg. --force-fp16"
required: false
Expand Down

0 comments on commit 8bbce53

Please sign in to comment.