Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comfy run command #80

Merged
merged 7 commits into from
Jun 10, 2024
Merged

Add comfy run command #80

merged 7 commits into from
Jun 10, 2024

Conversation

pythongosssss
Copy link
Member

Adds comfy run --workflow {file}, allowing you to run API workflows from the cli using the comfy cli background instance.

Arguments:
--workflow - The workflow API JSON to run
--[no-]wait - If the execution should be awaited or just queued and exits, default True
--verbose - If additional node execution logs should be output, default False

Outputs list of files that were generated during the run
image

Adds the websocket-client package for handling workflow execution messages.

Tested on Windows & WSL 2 (Ubuntu)

@yoland68
Copy link
Member

Oh sick! You even added socket for progress update! Good stuff!

@yoland68 yoland68 merged commit c96aafb into main Jun 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants