harp-dev commited on
Commit
3b4899d
·
verified ·
1 Parent(s): bd7813d

Deploy HARP wrapper via model agent

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -168,11 +168,11 @@ with gr.Blocks() as demo:
168
  gr.Textbox(label="Lyrics", value="[start]\n[intro]\n[verse]\nThought I heard your voice yesterday\nWhen I turned around to say\nThat I loved you baby\nI realize it was juss my mind\nPlayed tricks on me\nAnd it seems colder lately at night\nAnd I try to sleep with the lights on\nEvery time the phone rings\nI pray to God it's you\nAnd I just can't believe\nThat we're through\n[chorus]\nI miss you\nThere's no other way to say it\nAnd I can't deny it\nI miss you\nIt's so easy to see\nI miss you and me\n[verse]\nIs it turning over this time\nHave we really changed our minds about each other's love\nAll the feelings that we used to share\nI refuse to believe\nThat you don't care\n[chorus]\nI miss you\nThere's no other way to say it\nAnd I and I can't deny it\nI miss you\n[verse]\nIt's so easy to see\nI've got to gather myself as together\nI've been through worst kinds of weather\nIf it's over now\n[outro]"),
169
  gr.Audio(type="filepath", label="Audio Prompt"),
170
  gr.Textbox(label="Text Prompt", value="Pop, Piano, Bass, Drums, Happy"),
171
- gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0, label="Seed"),
172
  gr.Checkbox(value=True, label="Randomize seed"),
173
- gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=16, label="Diffusion Steps"),
174
- gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=1.3, label="CFG Strength"),
175
- gr.Dropdown(choices=["TODO_option_1", "TODO_option_2"], value="mp3", label="Output Format"),
176
  ]
177
  output_components = [
178
  gr.Audio(type="filepath", label="Audio Result"),
 
168
  gr.Textbox(label="Lyrics", value="[start]\n[intro]\n[verse]\nThought I heard your voice yesterday\nWhen I turned around to say\nThat I loved you baby\nI realize it was juss my mind\nPlayed tricks on me\nAnd it seems colder lately at night\nAnd I try to sleep with the lights on\nEvery time the phone rings\nI pray to God it's you\nAnd I just can't believe\nThat we're through\n[chorus]\nI miss you\nThere's no other way to say it\nAnd I can't deny it\nI miss you\nIt's so easy to see\nI miss you and me\n[verse]\nIs it turning over this time\nHave we really changed our minds about each other's love\nAll the feelings that we used to share\nI refuse to believe\nThat you don't care\n[chorus]\nI miss you\nThere's no other way to say it\nAnd I and I can't deny it\nI miss you\n[verse]\nIt's so easy to see\nI've got to gather myself as together\nI've been through worst kinds of weather\nIf it's over now\n[outro]"),
169
  gr.Audio(type="filepath", label="Audio Prompt"),
170
  gr.Textbox(label="Text Prompt", value="Pop, Piano, Bass, Drums, Happy"),
171
+ gr.Slider(minimum=0.0, maximum=10.0, step=1.0, value=0, label="Seed"),
172
  gr.Checkbox(value=True, label="Randomize seed"),
173
+ gr.Slider(minimum=0.0, maximum=32.0, step=1.0, value=16, label="Diffusion Steps"),
174
+ gr.Slider(minimum=1.3, maximum=100, step=1, value=1.3, label="CFG Strength"),
175
+ gr.Dropdown(choices=["mp3"], value="mp3", label="Output Format"),
176
  ]
177
  output_components = [
178
  gr.Audio(type="filepath", label="Audio Result"),