haoheliu commited on
Commit
7f243f4
1 Parent(s): 3c4ad5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_c
34
  text,
35
  audio_length_in_s=duration,
36
  guidance_scale=guidance_scale,
 
37
  negative_prompt=negative_prompt,
38
  num_waveforms_per_prompt=n_candidates if n_candidates else 1,
39
  generator=generator.manual_seed(int(random_seed)),
 
34
  text,
35
  audio_length_in_s=duration,
36
  guidance_scale=guidance_scale,
37
+ num_inference_steps=100,
38
  negative_prompt=negative_prompt,
39
  num_waveforms_per_prompt=n_candidates if n_candidates else 1,
40
  generator=generator.manual_seed(int(random_seed)),