Skip to content

Commit

Permalink
Download models.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 26, 2024
1 parent 6665c99 commit bcafb32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ runs:
auto-activate-base: false
python-version: ${{ inputs.python_version }}

- name: '[Unix] Install pip requirements'
if: ${{ inputs.os != 'windows' }}
shell: bash -el {0}
run: |
pip install -r requirements.txt
- name: '[Unix] Install Comfy-CLI'
if: ${{ inputs.os != 'windows' }}
shell: bash -el {0}
Expand Down Expand Up @@ -130,6 +136,7 @@ runs:
run: |
cd ${{ github.action_path }}
ls "${{ github.workspace }}"
pip3 install -r requirements.txt
python3 download-models.py raw '${{ inputs.models-json }}' "${{ github.workspace }}/models/"
- name: '[Unix] Run Python application in background'
Expand Down

0 comments on commit bcafb32

Please sign in to comment.