DanLeBossDeESGI commited on
Commit
e95c13c
·
1 Parent(s): 0b3533e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_c
29
  guidance_scale=guidance_scale,
30
  num_inference_steps=200,
31
  negative_prompt=negative_prompt,
32
- num_waveforms_per_prompt=n_candidates if n_candidates else 1,
33
  generator=generator.manual_seed(int(random_seed)),
34
  )["audios"]
35
 
 
29
  guidance_scale=guidance_scale,
30
  num_inference_steps=200,
31
  negative_prompt=negative_prompt,
32
+ num_waveforms_per_prompt=int(n_candidates) if n_candidates else 1,
33
  generator=generator.manual_seed(int(random_seed)),
34
  )["audios"]
35