Skip to content

Commit

Permalink
RESOURCE内のclean_character_info.pyスクリプトを利用する (VOICEVOX#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Apr 17, 2023
1 parent e529ce6 commit 51625b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
env:
IMAGE_NAME: ${{ vars.DOCKERHUB_USERNAME }}/voicevox_engine
PYTHON_VERSION: "3.11.3"
VOICEVOX_RESOURCE_VERSION: "0.14.2"
VOICEVOX_RESOURCE_VERSION: "0.14.3-preview.1"
VOICEVOX_CORE_VERSION: "0.14.3"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

env:
PYTHON_VERSION: "3.11.3"
VOICEVOX_RESOURCE_VERSION: "0.14.2"
VOICEVOX_RESOURCE_VERSION: "0.14.3-preview.1"
VOICEVOX_CORE_VERSION: "0.14.3"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ RUN <<EOF
EOF

# Download Resource
ARG VOICEVOX_RESOURCE_VERSION=0.14.2
ARG VOICEVOX_RESOURCE_VERSION=0.14.3-preview.1
RUN <<EOF
set -eux

Expand Down
4 changes: 2 additions & 2 deletions build_util/process_voicevox_resource.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi
rm -r speaker_info
cp -r $DOWNLOAD_RESOURCE_PATH/character_info speaker_info

# .png_largeファイルを消去する
rm speaker_info/*/icons/*.png_large
python $DOWNLOAD_RESOURCE_PATH/scripts/clean_character_info.py \
--character_info_dir speaker_info/

# マニフェスト
jq -s '.[0] * .[1]' engine_manifest.json $DOWNLOAD_RESOURCE_PATH/engine/engine_manifest.json \
Expand Down

0 comments on commit 51625b5

Please sign in to comment.