linoyts HF staff commited on
Commit
92e08c4
1 Parent(s): b3fb44c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -202,10 +202,12 @@ with gr.Blocks(css='style.css') as demo:
202
  # ldm_stable = gr.State(value=ldm_stable)
203
  do_inversion = gr.State(value=True) # To save some runtime when editing the same thing over and over
204
 
205
- with gr.Row():
206
- input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Input Audio",
207
- interactive=True, scale=1)
208
- output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
 
 
209
 
210
  with gr.Row():
211
  tar_prompt = gr.Textbox(label="Prompt", info="Describe your desired edited output",
 
202
  # ldm_stable = gr.State(value=ldm_stable)
203
  do_inversion = gr.State(value=True) # To save some runtime when editing the same thing over and over
204
 
205
+ with gr.Group():
206
+ gr.Markdown("note 💡: input longer than 60 sec is automatically trimmed")
207
+ with gr.Row():
208
+ input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Input Audio",
209
+ interactive=True, scale=1)
210
+ output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
211
 
212
  with gr.Row():
213
  tar_prompt = gr.Textbox(label="Prompt", info="Describe your desired edited output",