Spaces:
Running on Zero
Running on Zero
Describe what each control does to the sound
Browse files
app.py
CHANGED
|
@@ -152,7 +152,11 @@ def process_fn(audio_path: str) -> str:
|
|
| 152 |
if __name__ == "__main__":
|
| 153 |
with gr.Blocks() as demo:
|
| 154 |
input_components = [
|
| 155 |
-
gr.Audio(type="filepath", label="Input Audio").harp_required(True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
]
|
| 157 |
output_components = [
|
| 158 |
gr.File(type="filepath", label="Detection Result", file_types=[".txt"]).set_info(
|
|
|
|
| 152 |
if __name__ == "__main__":
|
| 153 |
with gr.Blocks() as demo:
|
| 154 |
input_components = [
|
| 155 |
+
gr.Audio(type="filepath", label="Input Audio").harp_required(True).set_info((
|
| 156 |
+
"Music to test. The model fuses MERT embeddings with a "
|
| 157 |
+
"downbeat-segmented view of the track, so a full arrangement gives "
|
| 158 |
+
"it more to judge than a short loop."
|
| 159 |
+
)),
|
| 160 |
]
|
| 161 |
output_components = [
|
| 162 |
gr.File(type="filepath", label="Detection Result", file_types=[".txt"]).set_info(
|