Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
|
|
| 95 |
with gr.Column(scale=1):
|
| 96 |
input_audio = gr.Audio(
|
| 97 |
label="Upload Audio File",
|
| 98 |
-
type="
|
| 99 |
interactive=True,
|
| 100 |
)
|
| 101 |
|
|
@@ -111,16 +111,16 @@ with gr.Blocks() as demo:
|
|
| 111 |
gr.Markdown("### 🔊 Remote Results (Hostinger URLs)")
|
| 112 |
|
| 113 |
with gr.Row():
|
| 114 |
-
output_vocals = gr.Audio(label="🎤 Vocals", type="
|
| 115 |
-
output_drums = gr.Audio(label="🥁 Drums", type="
|
| 116 |
|
| 117 |
with gr.Row():
|
| 118 |
-
output_bass = gr.Audio(label="🎸 Bass", type="
|
| 119 |
-
output_guitar = gr.Audio(label="🎸 Guitar", type="
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
-
output_piano = gr.Audio(label="🎹 Piano", type="
|
| 123 |
-
output_other = gr.Audio(label="🎼 Other", type="
|
| 124 |
|
| 125 |
separate_btn.click(
|
| 126 |
fn=separate_audio,
|
|
|
|
| 95 |
with gr.Column(scale=1):
|
| 96 |
input_audio = gr.Audio(
|
| 97 |
label="Upload Audio File",
|
| 98 |
+
type="filepath",
|
| 99 |
interactive=True,
|
| 100 |
)
|
| 101 |
|
|
|
|
| 111 |
gr.Markdown("### 🔊 Remote Results (Hostinger URLs)")
|
| 112 |
|
| 113 |
with gr.Row():
|
| 114 |
+
output_vocals = gr.Audio(label="🎤 Vocals", type="filepath")
|
| 115 |
+
output_drums = gr.Audio(label="🥁 Drums", type="filepath")
|
| 116 |
|
| 117 |
with gr.Row():
|
| 118 |
+
output_bass = gr.Audio(label="🎸 Bass", type="filepath")
|
| 119 |
+
output_guitar = gr.Audio(label="🎸 Guitar", type="filepath")
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
+
output_piano = gr.Audio(label="🎹 Piano", type="filepath")
|
| 123 |
+
output_other = gr.Audio(label="🎼 Other", type="filepath")
|
| 124 |
|
| 125 |
separate_btn.click(
|
| 126 |
fn=separate_audio,
|