soujanyaporia commited on
Commit
1a72fbd
·
verified ·
1 Parent(s): 9d05e2e

Update app.py

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