Skip to content

Commit 8cd1fdd

Browse files
chore(format): run black on dev (#66)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 522d101 commit 8cd1fdd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

infer/lib/uvr5_pack/lib_v5/spec_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def cache_or_load(mix_path, inst_path, mp):
232232
sr=bp["sr"],
233233
mono=False,
234234
dtype=np.float32,
235-
res_type=bp["res_type"]
235+
res_type=bp["res_type"],
236236
)
237237
y_wave[d], _ = librosa.load(
238238
inst_path,
@@ -421,7 +421,9 @@ def cmb_spectrogram_to_wave(spec_m, mp, extra_bins_h=None, extra_bins=None):
421421
),
422422
)
423423
# wave = librosa.core.resample(wave2, bp['sr'], sr, res_type="sinc_fastest")
424-
wave = librosa.resample(wave2, orig_sr=bp["sr"], target_sr=sr, res_type="scipy")
424+
wave = librosa.resample(
425+
wave2, orig_sr=bp["sr"], target_sr=sr, res_type="scipy"
426+
)
425427

426428
return wave.T
427429

0 commit comments

Comments
 (0)