OpenSound commited on
Commit
8dccda8
1 Parent(s): c69a5d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -183,7 +183,7 @@ examples = [
183
 
184
  # Examples (if needed for the demo)
185
  examples_edit = [
186
- ["a dog barking in the background", 6, 3],
187
  ["kids playing and laughing nearby", 5, 4],
188
  ["rock music playing on the street", 8, 6]
189
  ]
@@ -269,7 +269,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
269
  )
270
 
271
  # Mask settings
272
- mask_start = gr.Number(label="Edit Start (seconds)", value=6.0)
273
  mask_length = gr.Slider(minimum=0.5, maximum=10, step=0.5, value=3, label="Edit Length (seconds)")
274
 
275
  edit_explanation = gr.Markdown(value="**Edit Start**: The time when the edit begins. \n\n**Edit Length**: The duration of the segment to be edited. \n\n**Outpainting**: If the edit extends beyond the audio's length, Outpainting Mode will automatically activate.")
 
183
 
184
  # Examples (if needed for the demo)
185
  examples_edit = [
186
+ ["a dog barking in the background", 2, 3],
187
  ["kids playing and laughing nearby", 5, 4],
188
  ["rock music playing on the street", 8, 6]
189
  ]
 
269
  )
270
 
271
  # Mask settings
272
+ mask_start = gr.Number(label="Edit Start (seconds)", value=2.0)
273
  mask_length = gr.Slider(minimum=0.5, maximum=10, step=0.5, value=3, label="Edit Length (seconds)")
274
 
275
  edit_explanation = gr.Markdown(value="**Edit Start**: The time when the edit begins. \n\n**Edit Length**: The duration of the segment to be edited. \n\n**Outpainting**: If the edit extends beyond the audio's length, Outpainting Mode will automatically activate.")