deepanway commited on
Commit
a7ff543
1 Parent(s): 776d465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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