Merge pull request #1533 from RVC-Project/formatter-dev

chore(format): run black on dev
This commit is contained in:
RVC-Boss 2023-11-12 17:43:46 +08:00 committed by GitHub
commit e2d494d1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -229,7 +229,7 @@ class RVC:
pitch_ceiling=1100,
)
assert np.abs(s.t1 - 1.5 / f0_min) < 0.001
f0 = s.selected_array['frequency']
f0 = s.selected_array["frequency"]
if len(f0) < p_len:
f0 = np.pad(f0, (0, p_len - len(f0)))
f0 = f0[:p_len]