Spaces:
Running
Running
Describe what each control does to the sound
Browse files
app.py
CHANGED
|
@@ -116,8 +116,14 @@ def process_fn(audio_path: str, text_query: str):
|
|
| 116 |
if __name__ == "__main__":
|
| 117 |
with gr.Blocks() as demo:
|
| 118 |
input_components = [
|
| 119 |
-
gr.Audio(type="filepath", label="Input Audio (Mixture)").harp_required(True)
|
| 120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
]
|
| 122 |
output_components = [
|
| 123 |
gr.Audio(type="filepath", label="Separated Audio").set_info(
|
|
|
|
| 116 |
if __name__ == "__main__":
|
| 117 |
with gr.Blocks() as demo:
|
| 118 |
input_components = [
|
| 119 |
+
gr.Audio(type="filepath", label="Input Audio (Mixture)").harp_required(True).set_info((
|
| 120 |
+
"The mixture to pull a sound out of."
|
| 121 |
+
)),
|
| 122 |
+
gr.Textbox(label="Text Query", placeholder="e.g. a dog barking",
|
| 123 |
+
info=(
|
| 124 |
+
"Describe the sound to isolate, such as \"acoustic guitar\" or \"a "
|
| 125 |
+
"dog barking\". Plain words work better than studio terms."
|
| 126 |
+
)),
|
| 127 |
]
|
| 128 |
output_components = [
|
| 129 |
gr.Audio(type="filepath", label="Separated Audio").set_info(
|