Spaces:
Runtime error
Runtime error
update HARP description, top p
#13
by
hugggof
- opened
app.py
CHANGED
|
@@ -179,7 +179,7 @@ def _vamp(data, return_mask=False):
|
|
| 179 |
mask_temperature=data[masktemp]*10,
|
| 180 |
sampling_temperature=data[sampletemp],
|
| 181 |
mask=mask,
|
| 182 |
-
sampling_steps=data[num_steps],
|
| 183 |
sample_cutoff=data[sample_cutoff],
|
| 184 |
seed=_seed,
|
| 185 |
)
|
|
@@ -521,7 +521,7 @@ with gr.Blocks() as demo:
|
|
| 521 |
label="top p (0.0 = off)",
|
| 522 |
minimum=0.0,
|
| 523 |
maximum=1.0,
|
| 524 |
-
value=0.
|
| 525 |
)
|
| 526 |
typical_filtering = gr.Checkbox(
|
| 527 |
label="typical filtering ",
|
|
@@ -676,7 +676,7 @@ with gr.Blocks() as demo:
|
|
| 676 |
process_fn=harp_vamp,
|
| 677 |
card=ModelCard(
|
| 678 |
name="vampnet",
|
| 679 |
-
description="Generate variations on music input, based on small prompts around the beat.",
|
| 680 |
author="Hugo Flores García",
|
| 681 |
tags=["music", "generative"]
|
| 682 |
),
|
|
|
|
| 179 |
mask_temperature=data[masktemp]*10,
|
| 180 |
sampling_temperature=data[sampletemp],
|
| 181 |
mask=mask,
|
| 182 |
+
sampling_steps=data[num_steps] // 2,
|
| 183 |
sample_cutoff=data[sample_cutoff],
|
| 184 |
seed=_seed,
|
| 185 |
)
|
|
|
|
| 521 |
label="top p (0.0 = off)",
|
| 522 |
minimum=0.0,
|
| 523 |
maximum=1.0,
|
| 524 |
+
value=0.9
|
| 525 |
)
|
| 526 |
typical_filtering = gr.Checkbox(
|
| 527 |
label="typical filtering ",
|
|
|
|
| 676 |
process_fn=harp_vamp,
|
| 677 |
card=ModelCard(
|
| 678 |
name="vampnet",
|
| 679 |
+
description="Generate variations on music input, based on small prompts around the beat. NOTE: vampnet's has a maximum context length of 10 seconds. Please split all audio clips into 10 second chunks, or processing will result in an error. ",
|
| 680 |
author="Hugo Flores García",
|
| 681 |
tags=["music", "generative"]
|
| 682 |
),
|