Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nuomanzz
TangoFlux
Commits
60cdc0fd
Commit
60cdc0fd
authored
Dec 29, 2024
by
hungchiayu1
Browse files
updates
parent
e8a362f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tangoflux.py
tangoflux.py
+2
-0
No files found.
T
ango
F
lux.py
→
t
ango
f
lux.py
View file @
60cdc0fd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment