Skip to content

Commit

Permalink
Merge pull request #4 from rudrankriyam/main
Browse files Browse the repository at this point in the history
Pass progress in the completion handler of generate method
  • Loading branch information
lucasnewman authored Nov 29, 2024
2 parents 3f7614c + a9e34c7 commit 6ae8953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/F5TTS/F5TTS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ public class F5TTS: Module {
vocoder: vocos.decode
) { progress in
print("Generation progress: \(progress)")
progressHandler?(progress)
}

return outputAudio[audio.shape[0]...]
Expand Down

0 comments on commit 6ae8953

Please sign in to comment.