harp-dev commited on
Commit
7fd48be
·
verified ·
1 Parent(s): 8ba5e4c

Describe what each control does to the sound

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -812,7 +812,10 @@ if __name__ == "__main__":
812
  )
813
 
814
  harp_input_components = [
815
- gr.Audio(type="filepath", label="Input Audio").harp_required(True),
 
 
 
816
  gr.Slider(label="Randomness", minimum=0.1, maximum=10.0, value=1.0, step=0.001,
817
  info="Controls sampling diversity- higher values yield more novel variations."),
818
  gr.Slider(label="Rhythmic Reference", minimum=0, maximum=13, step=1, value=7,
@@ -828,7 +831,9 @@ if __name__ == "__main__":
828
  ]
829
 
830
  harp_output_components = [
831
- gr.Audio(type="filepath", label="Generated Audio"),
 
 
832
  gr.JSON(label="Generated Labels"),
833
  ]
834
 
 
812
  )
813
 
814
  harp_input_components = [
815
+ gr.Audio(type="filepath", label="Input Audio").harp_required(True).set_info((
816
+ "The audio to rework. The model masks out parts of this recording "
817
+ "and fills them back in, so the result keeps its character."
818
+ )),
819
  gr.Slider(label="Randomness", minimum=0.1, maximum=10.0, value=1.0, step=0.001,
820
  info="Controls sampling diversity- higher values yield more novel variations."),
821
  gr.Slider(label="Rhythmic Reference", minimum=0, maximum=13, step=1, value=7,
 
831
  ]
832
 
833
  harp_output_components = [
834
+ gr.Audio(type="filepath", label="Generated Audio").set_info((
835
+ "The reworked audio, at the same sample rate as the input."
836
+ )),
837
  gr.JSON(label="Generated Labels"),
838
  ]
839