Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,8 @@ else:
|
|
74 |
|
75 |
def gradio_generate(prompt, steps, guidance):
|
76 |
output_wave = tango.generate(prompt, steps, guidance)
|
77 |
-
output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|
|
|
78 |
wavio.write(output_filename, output_wave, rate=16000, sampwidth=2)
|
79 |
|
80 |
return output_filename
|
|
|
74 |
|
75 |
def gradio_generate(prompt, steps, guidance):
|
76 |
output_wave = tango.generate(prompt, steps, guidance)
|
77 |
+
# output_filename = f"{prompt.replace(' ', '_')}_{steps}_{guidance}"[:250] + ".wav"
|
78 |
+
output_filename = "temp.wav"
|
79 |
wavio.write(output_filename, output_wave, rate=16000, sampwidth=2)
|
80 |
|
81 |
return output_filename
|