diff --git a/assets/discord_presence.py b/assets/discord_presence.py index 76aa3054..8132f0c5 100644 --- a/assets/discord_presence.py +++ b/assets/discord_presence.py @@ -1,6 +1,7 @@ from pypresence import Presence import datetime as dt + class RichPresenceManager: def __init__(self): self.client_id = "1144714449563955302" diff --git a/rvc/lib/algorithm/generators.py b/rvc/lib/algorithm/generators.py index 5979e99f..ccc2358d 100644 --- a/rvc/lib/algorithm/generators.py +++ b/rvc/lib/algorithm/generators.py @@ -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. diff --git a/tabs/extra/analyzer/analyzer.py b/tabs/extra/analyzer/analyzer.py index c8c7cdab..371d8aa9 100644 --- a/tabs/extra/analyzer/analyzer.py +++ b/tabs/extra/analyzer/analyzer.py @@ -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(