From c4a0e00f19850efa637876be5926b37a9050d511 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 25 Jun 2024 22:27:56 -0700 Subject: [PATCH] Update. --- action.yml | 15 +++++++-------- requirements.txt | 3 ++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/action.yml b/action.yml index 970e2ba..e625144 100644 --- a/action.yml +++ b/action.yml @@ -94,13 +94,6 @@ runs: auto-activate-base: false python-version: ${{ inputs.python_version }} - - name: '[Unix] Install pip requirements for comfy action' - if: ${{ inputs.os != 'windows' }} - shell: bash -el {0} - run: | - cd ${{ github.action_path }} - pip3 install -r requirements.txt - - name: '[Unix] Install Comfy-CLI' if: ${{ inputs.os != 'windows' }} shell: bash -el {0} @@ -128,12 +121,18 @@ runs: conda list shell: bash -el {0} + - name: '[Unix] Install pip requirements for comfy action' + if: ${{ inputs.os != 'windows' }} + shell: bash -el {0} + run: | + cd ${{ github.action_path }} + pip3 install -r requirements.txt + - name: '[Unix] Download models' if: ${{ inputs.os != 'windows' }} shell: bash -el {0} run: | cd ${{ github.action_path }} - ls "${{ github.workspace }}" python3 download-models.py raw '${{ inputs.models-json }}' "${{ github.workspace }}/models/" - name: '[Unix] Install dependencies' diff --git a/requirements.txt b/requirements.txt index eb90394..b2e35b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests comfy-cli -google-cloud-storage \ No newline at end of file +google-cloud-storage +charset-normalizer \ No newline at end of file