Johann Diedrick commited on
Commit
955b728
1 Parent(s): ee59f9d

Adjusted number of inference steps to 20

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +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
- num_inference_steps=200,
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)),
 
34
  text,
35
  audio_length_in_s=duration,
36
  guidance_scale=guidance_scale,
37
+ num_inference_steps=20,
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)),