Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
|
|
|
|
|
|
| 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",
|