hilamanor commited on
Commit
19c39fb
1 Parent(s): a0d4013

enable trimming now that it's fixed

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎧
4
  colorFrom: indigo
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 4.19.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: indigo
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 4.21.0
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -71,7 +71,6 @@ def sample(ldm_stable, zs, wts, steps, prompt_tar, tstart, cfg_scale_tar): # ,
71
  return f.name
72
 
73
 
74
-
75
  def edit(input_audio,
76
  model_id: str,
77
  do_inversion: bool,
@@ -201,7 +200,7 @@ with gr.Blocks(css='style.css') as demo:
201
  with gr.Group():
202
  gr.Markdown("💡 **note**: input longer than **30 sec** is automatically trimmed (for unlimited input you may duplicate the space)")
203
  with gr.Row():
204
- input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", editable=False, label="Input Audio",
205
  interactive=True, scale=1)
206
  output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
207
 
 
71
  return f.name
72
 
73
 
 
74
  def edit(input_audio,
75
  model_id: str,
76
  do_inversion: bool,
 
200
  with gr.Group():
201
  gr.Markdown("💡 **note**: input longer than **30 sec** is automatically trimmed (for unlimited input you may duplicate the space)")
202
  with gr.Row():
203
+ input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", editable=True, label="Input Audio",
204
  interactive=True, scale=1)
205
  output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
206