Skip to content

Commit adcee88

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f2422e5 commit adcee88

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

configs/_base_/archs/diff_svc_v2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
DiffSVC architecture with WaveNet denoiser and NSF-HiFiGAN vocoder.
33
4-
Comparing to v1, this version
4+
Comparing to v1, this version
55
- Doesn't need spec stats anymore.
66
- Added dilation cycle to WaveNet denoiser.
77
- Used the log10 mel spectrogram.

tools/diffusion/gradio_ui.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ def launch_gradio(
5555
speaker = gr.Dropdown(
5656
label="Speaker Name (Used for Multi-Speaker Models)",
5757
choices=list(speaker_mapping.keys()),
58-
value=speaker
59-
if speaker in speaker_mapping
60-
else list(speaker_mapping.keys())[0],
58+
value=(
59+
speaker
60+
if speaker in speaker_mapping
61+
else list(speaker_mapping.keys())[0]
62+
),
6163
)
6264
else:
6365
speaker = gr.Number(

tools/mfa/postprocess_mfa.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
It aims to reduce errors for long utterances and detcect aspiration which is not detected by MFA.
55
"""
66

7-
87
import librosa
98
import numpy as np
109
import parselmouth as pm

0 commit comments

Comments
 (0)