Skip to content

Commit

Permalink
Revert to using python to start Comfy Server.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 25, 2024
1 parent d7d3796 commit 466f55e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ inputs:
description: 'JSON string containing models and their download URLs. The models will be downloaded into the exact directory relative to /ComfyUI/models/. eg { "model_name": { url: "https://example.com/model.pth", "directory": "checkpoints" } }'
required: false
workflow_filenames:
description: "List of workflows to run. Seperate by comma. eg.
'workflow1,workflow2'. The list of workflow is listed in workflows/"
description: "List of workflows to run. Separate by comma, e.g., 'workflow1,workflow2'. The list of workflows is listed in the workflows/ directory."
required: true
comfyui_flags:
description: "Flags to pass to the comfyui application. eg. --force-fp16"
Expand Down Expand Up @@ -131,13 +130,13 @@ runs:
if: ${{ inputs.os != 'windows' }}
shell: bash -el {0}
run: |
comfy launch -- --quick-test-for-ci
python main.py --quick-test-for-ci
- name: '[Unix] Run Python application'
if: ${{ inputs.os != 'windows' }}
shell: bash -el {0}
run: |
comfy launch -- --force-fp16 > application.log 2>&1 &
python3 main.py --force-fp16 > application.log 2>&1 &
- name: '[Unix] Check if the server is running'
if: ${{ inputs.os != 'windows' }}
Expand Down

0 comments on commit 466f55e

Please sign in to comment.