Spaces:
Running
Running
Describe what each control does to the sound
Browse files
app.py
CHANGED
|
@@ -312,12 +312,17 @@ def process_fn(audio_path: str):
|
|
| 312 |
|
| 313 |
if __name__ == "__main__":
|
| 314 |
with gr.Blocks() as demo:
|
| 315 |
-
input_audio = gr.Audio(type="filepath", label="Drum Mix (Input)").harp_required(True)
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
|
| 322 |
app = build_endpoint(
|
| 323 |
model_card=model_card,
|
|
|
|
| 312 |
|
| 313 |
if __name__ == "__main__":
|
| 314 |
with gr.Blocks() as demo:
|
| 315 |
+
input_audio = gr.Audio(type="filepath", label="Drum Mix (Input)").harp_required(True).set_info((
|
| 316 |
+
"A drum mix to split. Stereo only, since the model does not accept "
|
| 317 |
+
"mono, and the five stems come back separately."
|
| 318 |
+
))
|
| 319 |
+
output_kick = gr.Audio(type="filepath", label="Kick").set_info("The isolated kick drum.")
|
| 320 |
+
output_snare = gr.Audio(type="filepath", label="Snare").set_info("The isolated snare.")
|
| 321 |
+
output_toms = gr.Audio(type="filepath", label="Toms").set_info("The isolated toms.")
|
| 322 |
+
output_hihat = gr.Audio(type="filepath", label="Hi-Hat").set_info("The isolated hi-hat.")
|
| 323 |
+
output_cymbals = gr.Audio(type="filepath", label="Cymbals").set_info((
|
| 324 |
+
"The isolated cymbals, including crashes and rides."
|
| 325 |
+
))
|
| 326 |
|
| 327 |
app = build_endpoint(
|
| 328 |
model_card=model_card,
|