Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)),
|