Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ tango.model.to(device_type)
|
|
86 |
@spaces.GPU(duration=120)
|
87 |
def gradio_generate(prompt, output_format, steps, guidance):
|
88 |
# output_wave = tango.generate(prompt, steps, guidance)
|
89 |
-
output_wave = tango.generate_for_batch(prompt, steps, guidance, samples=3)
|
90 |
# output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|
91 |
|
92 |
output_filename_1 = "tmp1.wav"
|
|
|
86 |
@spaces.GPU(duration=120)
|
87 |
def gradio_generate(prompt, output_format, steps, guidance):
|
88 |
# output_wave = tango.generate(prompt, steps, guidance)
|
89 |
+
output_wave = tango.generate_for_batch([prompt], steps, guidance, samples=3)
|
90 |
# output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|
91 |
|
92 |
output_filename_1 = "tmp1.wav"
|