Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -263,14 +263,12 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
263 |
with gr.Tab("Audio Editing and Inpainting"):
|
264 |
# Input: Upload audio file
|
265 |
|
266 |
-
edit_explanation = gr.Markdown(value="**Edit Start**: The time when the edit begins. \n**Edit Length**: The duration of the segment to be edited. \n**Outpainting**: If the edit extends beyond the audio's length, Outpainting Mode will automatically activate.")
|
267 |
|
268 |
gt_file_input = gr.Audio(label="Upload Audio to Edit", type="filepath", value="edit_example.wav")
|
269 |
|
270 |
-
|
271 |
-
|
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 |
with gr.Row():
|
276 |
# Text prompt for editing
|
|
|
263 |
with gr.Tab("Audio Editing and Inpainting"):
|
264 |
# Input: Upload audio file
|
265 |
|
266 |
+
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.")
|
267 |
|
268 |
gt_file_input = gr.Audio(label="Upload Audio to Edit", type="filepath", value="edit_example.wav")
|
269 |
|
270 |
+
mask_start = gr.Number(label="Edit Start (seconds)", value=2.0)
|
271 |
+
mask_length = gr.Slider(minimum=0.5, maximum=10, step=0.5, value=3, label="Edit Length (seconds)")
|
|
|
|
|
272 |
|
273 |
with gr.Row():
|
274 |
# Text prompt for editing
|