Spaces:
Sleeping
Sleeping
Commit ·
85830b2
1
Parent(s): 89f014b
refactor: restructure layout
Browse files
app.py
CHANGED
|
@@ -507,15 +507,16 @@ with gr.Blocks() as demo:
|
|
| 507 |
sources="upload",
|
| 508 |
label="Reference Audio",
|
| 509 |
)
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
|
|
|
| 519 |
|
| 520 |
with gr.Column():
|
| 521 |
audio_output = default_audio_block(label="Output Audio", interactive=False)
|
|
|
|
| 507 |
sources="upload",
|
| 508 |
label="Reference Audio",
|
| 509 |
)
|
| 510 |
+
with gr.Row():
|
| 511 |
+
method_dropdown = gr.Dropdown(
|
| 512 |
+
["Mean", "Nearest Neighbour", "ST-ITO", "Regression"],
|
| 513 |
+
value="ST-ITO",
|
| 514 |
+
label=f"Style Transfer Method",
|
| 515 |
+
interactive=True,
|
| 516 |
+
)
|
| 517 |
+
process_button = gr.Button(
|
| 518 |
+
"Run", elem_id="render-button", variant="primary"
|
| 519 |
+
)
|
| 520 |
|
| 521 |
with gr.Column():
|
| 522 |
audio_output = default_audio_block(label="Output Audio", interactive=False)
|