Spaces:
Runtime error
Runtime error
hungchiayu1
commited on
Commit
·
e233eb0
1
Parent(s):
e913bfc
minor changes
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ tango.vae.to("cuda")
|
|
| 74 |
tango.stft.to("cuda")
|
| 75 |
tango.model.to("cuda")
|
| 76 |
|
| 77 |
-
@spaces.GPU(duration=
|
| 78 |
def gradio_generate(prompt, steps, guidance):
|
| 79 |
output_wave = tango.generate(prompt, steps, guidance)
|
| 80 |
# output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|
|
|
|
| 74 |
tango.stft.to("cuda")
|
| 75 |
tango.model.to("cuda")
|
| 76 |
|
| 77 |
+
@spaces.GPU(duration=60)
|
| 78 |
def gradio_generate(prompt, steps, guidance):
|
| 79 |
output_wave = tango.generate(prompt, steps, guidance)
|
| 80 |
# output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|