fix(workflow): make ci happy

This commit is contained in:
源文雨
2024-07-10 14:17:00 +09:00
parent 34a01e4083
commit 2dc1a6a83e
3 changed files with 6 additions and 8 deletions
+2 -4
View File
@@ -57,10 +57,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Set up Python
uses: actions/setup-python@v5
- name: Install Black
run: pip install "black[jupyter]"
+2 -2
View File
@@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependents
run: |
sudo apt-get install -y portaudio19-dev python3-pyaudio
+2 -2
View File
@@ -42,12 +42,12 @@ for i, result in enumerate(gen_result):
if wav is None:
continue
logger.info("iter %d index %d len %d", i, j, len(wav))
if len(wav) == 12032:
if len(wav) == 12000:
continue
if not has_finished[j]:
has_finished[j] = True
logger.warning(
"iter %d index %d finished with non-12032 len %d", i, j, len(wav)
"iter %d index %d finished with non-12000 len %d", i, j, len(wav)
)
else:
logger.warning(