haoheliu commited on
Commit
44cd598
1 Parent(s): 76479a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ with iface:
221
  with gr.Accordion("Click to modify detailed configurations", open=False):
222
  seed = gr.Number(value=45, label="Change this value (any integer number) will lead to a different generation result.")
223
  duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
224
- guidance_scale = gr.Slider(0, 5, value=2.5, step=0.5, label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)")
225
  n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
226
  ############# Output
227
  # outputs=gr.Audio(label="Output", type="numpy")
 
221
  with gr.Accordion("Click to modify detailed configurations", open=False):
222
  seed = gr.Number(value=45, label="Change this value (any integer number) will lead to a different generation result.")
223
  duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
224
+ guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)")
225
  n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
226
  ############# Output
227
  # outputs=gr.Audio(label="Output", type="numpy")