Spaces:
Runtime error
Runtime error
hungchiayu1
commited on
Commit
•
51fb9f2
1
Parent(s):
a258601
fixed bugs
Browse files
app.py
CHANGED
@@ -70,7 +70,9 @@ class Tango:
|
|
70 |
# Initialize TANGO
|
71 |
|
72 |
tango = Tango(device="cpu")
|
73 |
-
tango.to("cuda")
|
|
|
|
|
74 |
|
75 |
@spaces.GPU(duration=240)
|
76 |
def gradio_generate(prompt, steps, guidance):
|
|
|
70 |
# Initialize TANGO
|
71 |
|
72 |
tango = Tango(device="cpu")
|
73 |
+
tango.vae.to("cuda")
|
74 |
+
tango.stft.to("cuda")
|
75 |
+
tango.model.to("cuda")
|
76 |
|
77 |
@spaces.GPU(duration=240)
|
78 |
def gradio_generate(prompt, steps, guidance):
|