Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: Kuray107 <Kuray107@users.noreply.github.com>
  • Loading branch information
Kuray107 authored and anteju committed Aug 15, 2024
1 parent 66a724e commit f7fc2f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/audio/audio_to_audio_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ModelType(str, Enum):
Predictive = 'predictive'
ScoreBased = 'score_based'
SchroedingerBridge = 'schroedinger_bridge'
FlowMatching= 'flow_matching'
FlowMatching = 'flow_matching'


def get_model_class(model_type: ModelType):
Expand Down
1 change: 1 addition & 0 deletions nemo/collections/audio/models/enhancement.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ class FlowMatchingAudioToAudioModel(AudioToAudioModel):
- decoder: transforms sampler output into the time domain (synthesis transform)
- ssl_pretrain_masking: if it is defined, perform the ssl pretrain masking for self reconstruction in the training process
"""

def __init__(self, cfg: DictConfig, trainer: Trainer = None):
super().__init__(cfg=cfg, trainer=trainer)
self.sample_rate = self._cfg.sample_rate
Expand Down

0 comments on commit f7fc2f3

Please sign in to comment.