Skip to content

Commit

Permalink
Pre download nltk data
Browse files Browse the repository at this point in the history
  • Loading branch information
Artrajz committed Mar 13, 2024
1 parent 6c619cc commit afec1a9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-windows-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
pip install --extra-index-url https://pypi.artrajz.cn/simple -r requirements.txt
shell: cmd

- name: Pre download nltk data
run: |
curl -o nltk_data.zip https://github.com/Artrajz/archived/raw/main/nltk/nltk_data.zip
7z x -oC:\Programs\Miniconda3\envs\py310 nltk_data.zip
del nltk_data.zip
shell: cmd

- name: Copy python environment
run: |
XCOPY C:\programs\miniconda3\envs\py310 py310\ /E /Y /F
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-windows-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
pip install --no-cache-dir torch==2.2.1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
pip install --extra-index-url https://pypi.artrajz.cn/simple -r requirements.txt
shell: cmd

- name: Pre download nltk data
run: |
curl -o nltk_data.zip https://github.com/Artrajz/archived/raw/main/nltk/nltk_data.zip
7z x -oC:\Programs\Miniconda3\envs\py310 nltk_data.zip
del nltk_data.zip
shell: cmd

- name: Copy python environment
run: |
Expand Down
Empty file.
Empty file added data/reference_audio/.gitkeep
Empty file.

0 comments on commit afec1a9

Please sign in to comment.