Skip to content

Commit d8ab3b2

Browse files
chore(format): run black on main
1 parent ab24833 commit d8ab3b2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

rvc/realtime/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,7 @@ def process_audio(
516516
].float()
517517
cor_nom = F.conv1d(conv_input, self.sola_buffer[None, None, :])
518518
cor_den = torch.sqrt(
519-
F.conv1d(conv_input**2, self.sola_denominator_kernel)
520-
+ 1e-8
519+
F.conv1d(conv_input**2, self.sola_denominator_kernel) + 1e-8
521520
)
522521
sola_offset = torch.argmax(cor_nom[0, 0] / cor_den[0, 0])
523522

0 commit comments

Comments
 (0)