Commit 60cdc0fd authored by hungchiayu1's avatar hungchiayu1
Browse files

updates

parent e8a362f1
......@@ -50,6 +50,8 @@ class TangoFluxInference:
wave = self.vae.decode(latents.transpose(2,1)).sample.cpu()[0]
waveform_end = int(duration * self.vae.config.sampling_rate)
wave = wave[:, :, :waveform_end]
return wave
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment