saumyap29 commited on
Commit
1c2a804
·
1 Parent(s): 539ab2a

description and hints

Browse files
Files changed (1) hide show
  1. app.py +18 -7
app.py CHANGED
@@ -720,19 +720,30 @@ with gr.Blocks() as demo:
720
  #NEW: HARP endpoint (new PyHARP API)
721
  harp_model_card = ModelCard(
722
  name="vampnet",
723
- description="generating audio by filling in the blanks.",
 
 
 
 
 
724
  author="hugo flores garcía et al. (descript/northwestern)",
725
  tags=["sound", "generation"]
726
  )
727
 
728
  harp_input_components = [
729
  gr.Audio(type="filepath", label="Input Audio").harp_required(True),
730
- gr.Slider(label="Sample Temperature", minimum=0.1, maximum=10.0, value=1.0, step=0.001),
731
- gr.Slider(label="Periodic Prompt", minimum=0, maximum=13, step=1, value=7),
732
- gr.Slider(label="Mask Dropout", minimum=0.0, maximum=1.0, step=0.01, value=0.0),
733
- gr.Slider(label="Compression Prompt", value=3, minimum=1, maximum=14, step=1),
734
- gr.Dropdown(label="Model Choice", choices=list(interface.available_models()), value=init_model_choice),
735
- gr.Slider(label="Time Stretch Factor", minimum=0, maximum=8, step=1, value=1),
 
 
 
 
 
 
736
  ]
737
 
738
  harp_output_components = [
 
720
  #NEW: HARP endpoint (new PyHARP API)
721
  harp_model_card = ModelCard(
722
  name="vampnet",
723
+ description=(
724
+ "Generates new audio by remixing and extending your input- filling in the blanks to create a coherent continuation in the same style.\n",
725
+ "Input: Short music or audio segment. \n"
726
+ "The model analyzes its rhythmic, timbral, and stylistic patterns to use as a conditioning prompt.\n"
727
+ "Output: A creative remix or continuation that preserves your track's vibe while adding new melodic and rhythmic variations. \n"
728
+ ),
729
  author="hugo flores garcía et al. (descript/northwestern)",
730
  tags=["sound", "generation"]
731
  )
732
 
733
  harp_input_components = [
734
  gr.Audio(type="filepath", label="Input Audio").harp_required(True),
735
+ gr.Slider(label="Creativity Level", minimum=0.1, maximum=10.0, value=1.0, step=0.001,
736
+ info="Controls sampling diversity- higher values yield more novel variations."),
737
+ gr.Slider(label="Rhythmic Reference", minimum=0, maximum=13, step=1, value=7,
738
+ info="Determines how frequently rhythmic cues are repeated in generation."),
739
+ gr.Slider(label="Remix Amount", minimum=0.0, maximum=1.0, step=0.01, value=0.0,
740
+ info="Defines how much the output diverges from the input material."),
741
+ gr.Slider(label="Spectral Detail", value=3, minimum=1, maximum=14, step=1,
742
+ info="Controls the richness of timbre retained from the source audio."),
743
+ gr.Dropdown(label="Model Choice", choices=list(interface.available_models()), value=init_model_choice,
744
+ info="Select which fine-tuned VampNet model to use."),
745
+ gr.Slider(label="Time Stretch Factor", minimum=0, maximum=8, step=1, value=1,
746
+ info="Scales the output duration relative to the input."),
747
  ]
748
 
749
  harp_output_components = [