Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleZhang1118 committed Nov 6, 2024
1 parent 12f5ba1 commit d2fd63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wesep/cli/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def extract_speech_from_pcm(self,
target_speech = outputs.to(torch.device("cpu"))
if self.output_norm:
target_speech = (
target_speech
target_speech
/ abs(target_speech).max(dim=1, keepdim=True).values * 0.9
)
return target_speech
Expand Down

0 comments on commit d2fd63e

Please sign in to comment.