DanLeBossDeESGI commited on
Commit
7229c23
·
1 Parent(s): d89757b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,9 +51,9 @@ negative_prompt = st.text_input("Negative prompt", "Low quality")
51
 
52
  st.markdown("### Configuration")
53
  duration = st.slider("Duration (seconds)", 5.0, 15.0, 10.0, step=2.5)
54
- guidance_scale = st.slider("Guidance scale", 0, 7, 3.5, step=0.5)
55
- n_candidates = st.slider("Number waveforms to generate", 1, 5, 3, step=1)
56
- random_seed = st.number_input("Seed", 1, 100, 45)
57
 
58
  if st.button("Submit"):
59
  text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_candidates)
 
51
 
52
  st.markdown("### Configuration")
53
  duration = st.slider("Duration (seconds)", 5.0, 15.0, 10.0, step=2.5)
54
+ guidance_scale = st.slider("Guidance scale", 0.0, 7.0, 3.5, step=0.5)
55
+ n_candidates = st.slider("Number waveforms to generate", 1.0, 5.0, 3.0, step=1)
56
+ random_seed = st.number_input("Seed", 1.0, 100.0, 45.0)
57
 
58
  if st.button("Submit"):
59
  text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_candidates)