multimodalart HF staff commited on
Commit
f42c411
1 Parent(s): 381c942

More descriptive labels

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -227,7 +227,8 @@ with iface:
227
  with gr.Accordion("Click to modify detailed configurations", open=False):
228
  seed = gr.Number(
229
  value=45,
230
- label="Change this value (any integer number) will lead to a different generation result.",
 
231
  )
232
  # duration = gr.Slider(
233
  # 10, 10, value=10, step=2.5, label="Duration (seconds)"
@@ -237,14 +238,16 @@ with iface:
237
  6,
238
  value=3.5,
239
  step=0.5,
240
- label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)",
 
241
  )
242
  n_candidates = gr.Slider(
243
  1,
244
  3,
245
  value=3,
246
  step=1,
247
- 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",
 
248
  )
249
  # model_name = gr.Dropdown(
250
  # ["audioldm-m-text-ft", "audioldm-s-text-ft", "audioldm-m-full","audioldm-s-full-v2", "audioldm-s-full", "audioldm-l-full"], value="audioldm-m-full", label="Choose the model to use. audioldm-m-text-ft and audioldm-s-text-ft are recommanded. -s- means small, -m- means medium and -l- means large",
 
227
  with gr.Accordion("Click to modify detailed configurations", open=False):
228
  seed = gr.Number(
229
  value=45,
230
+ label="Seed",
231
+ info="Change this value (any integer number) will lead to a different generation result."
232
  )
233
  # duration = gr.Slider(
234
  # 10, 10, value=10, step=2.5, label="Duration (seconds)"
 
238
  6,
239
  value=3.5,
240
  step=0.5,
241
+ label="Guidance Scale",
242
+ info="Large => better quality and relavancy to text; Small => better diversity"
243
  )
244
  n_candidates = gr.Slider(
245
  1,
246
  3,
247
  value=3,
248
  step=1,
249
+ label="Number of candidates",
250
+ info="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"
251
  )
252
  # model_name = gr.Dropdown(
253
  # ["audioldm-m-text-ft", "audioldm-s-text-ft", "audioldm-m-full","audioldm-s-full-v2", "audioldm-s-full", "audioldm-l-full"], value="audioldm-m-full", label="Choose the model to use. audioldm-m-text-ft and audioldm-s-text-ft are recommanded. -s- means small, -m- means medium and -l- means large",