ray-006 commited on
Commit
a66a1eb
·
verified ·
1 Parent(s): b86f824

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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="url",
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="url")
115
- output_drums = gr.Audio(label="🥁 Drums", type="url")
116
 
117
  with gr.Row():
118
- output_bass = gr.Audio(label="🎸 Bass", type="url")
119
- output_guitar = gr.Audio(label="🎸 Guitar", type="url")
120
 
121
  with gr.Row():
122
- output_piano = gr.Audio(label="🎹 Piano", type="url")
123
- output_other = gr.Audio(label="🎼 Other", type="url")
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,