MCPcopy Create free account
hub / github.com/ace-step/ACE-Step / construct_lyrics

Method construct_lyrics

trainer.py:769–775  ·  view source on GitHub ↗
(self, candidate_lyric_chunk)

Source from the content-addressed store, hash-verified

767 }
768
769 def construct_lyrics(self, candidate_lyric_chunk):
770 lyrics = []
771 for chunk in candidate_lyric_chunk:
772 lyrics.append(chunk["lyric"])
773
774 lyrics = "\n".join(lyrics)
775 return lyrics
776
777 def plot_step(self, batch, batch_idx):
778 global_step = self.global_step

Callers 1

plot_stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected