Skip to content

Commit

Permalink
Merge pull request #893 from IAHispano/formatter/main
Browse files Browse the repository at this point in the history
chore(format): run black on main
  • Loading branch information
blaisewf authored Dec 1, 2024
2 parents 5ae6b0d + 71d7a4c commit d3a29a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions assets/discord_presence.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from pypresence import Presence
import datetime as dt


class RichPresenceManager:
def __init__(self):
self.client_id = "1144714449563955302"
Expand Down
1 change: 1 addition & 0 deletions rvc/lib/algorithm/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def remove_weight_norm(self):
for l in self.resblocks:
l.remove_weight_norm()


class SineGenerator(torch.nn.Module):
"""
A sine wave generator that synthesizes waveforms with optional harmonic overtones and noise.
Expand Down
4 changes: 1 addition & 3 deletions tabs/extra/analyzer/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ def analyzer_tab():
max_lines=8,
interactive=False,
)
get_info_button = gr.Button(
value=i18n("Get information about the audio")
)
get_info_button = gr.Button(value=i18n("Get information about the audio"))
image_output = gr.Image(type="filepath", interactive=False)

get_info_button.click(
Expand Down

0 comments on commit d3a29a1

Please sign in to comment.