Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 643dbf6

Browse files
test: package fish speech
1 parent 93b763b commit 643dbf6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ on:
2222

2323

2424
env:
25-
MODEL_DIR: models/whispervq # ${{ inputs.model_dir }}
26-
MODEL_NAME: whispervq # ${{ inputs.model_name }}
25+
MODEL_DIR: models/fish-speech # ${{ inputs.model_dir }}
26+
MODEL_NAME: fish-speech # ${{ inputs.model_name }}
2727
REPO_NAME: janhq/models # ${{ inputs.model_name }}
2828
BRANCH_NAME: feat/ci-python-models # ${{ inputs.model_name }}
2929

@@ -91,6 +91,7 @@ jobs:
9191
if: runner.os == 'windows'
9292
shell: pwsh
9393
run: |
94+
python3 -m pip freeze | xargs python3 -m pip uninstall -y
9495
python3 -m pip install --upgrade pip
9596
python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
9697
@@ -101,6 +102,7 @@ jobs:
101102
source $HOME/miniconda3/bin/activate base
102103
conda init
103104
conda activate ${{env.MODEL_NAME}}
105+
python -m pip freeze | xargs python -m pip uninstall -y
104106
python -m pip install --upgrade pip
105107
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
106108
@@ -111,6 +113,7 @@ jobs:
111113
source $HOME/miniconda3/bin/activate base
112114
conda init
113115
conda activate ${{env.MODEL_NAME}}
116+
python -m pip freeze | xargs python -m pip uninstall -y
114117
python -m pip install --upgrade pip
115118
python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt
116119

0 commit comments

Comments
 (0)