Surn commited on
Commit
0365184
·
1 Parent(s): 1af45f2
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -463,7 +463,7 @@ def ui(**kwargs):
463
  melody_filepath = gr.Audio(sources=["upload"], type="filepath", label="Melody Condition (optional)", interactive=True, elem_id="melody-input")
464
  with gr.Column():
465
  harmony_only = gr.Radio(label="Use Harmony Only",choices=["No", "Yes"], value="No", interactive=True, info="Remove Drums?")
466
- prompt_index = gr.Slider(label="Melody Condition Sample Segment", minimum=-1, maximum=MAX_PROMPT_INDEX, step=1, value=0, interactive=True, info="Which 30 second segment to condition with, - 1 condition each segment independantly")
467
  with gr.Accordion("Video", open=False):
468
  with gr.Row():
469
  background= gr.Image(value="./assets/background.png", sources=["upload"], label="Background", width=768, height=512, type="filepath", interactive=True)
@@ -504,7 +504,7 @@ def ui(**kwargs):
504
  "melody",
505
  "80s Pop Synth",
506
  950,
507
- 0,6,
508
  5.0
509
  ],
510
  [
@@ -513,7 +513,7 @@ def ui(**kwargs):
513
  "stereo-melody-large",
514
  "Country Guitar",
515
  750,
516
- 0,7,
517
  4.75
518
  ],
519
  [
@@ -522,7 +522,7 @@ def ui(**kwargs):
522
  "stereo-medium",
523
  "90s Rock Guitar",
524
  1150,
525
- 0,7,
526
  4.5
527
  ],
528
  [
@@ -531,7 +531,7 @@ def ui(**kwargs):
531
  "melody-large",
532
  "EDM my Bach",
533
  500,
534
- 0,7,
535
  3.5
536
  ],
537
  [
@@ -540,7 +540,7 @@ def ui(**kwargs):
540
  "medium",
541
  "LoFi Chill",
542
  1150,
543
- 0,7,
544
  8.5
545
  ],
546
  ],
 
463
  melody_filepath = gr.Audio(sources=["upload"], type="filepath", label="Melody Condition (optional)", interactive=True, elem_id="melody-input")
464
  with gr.Column():
465
  harmony_only = gr.Radio(label="Use Harmony Only",choices=["No", "Yes"], value="No", interactive=True, info="Remove Drums?")
466
+ prompt_index = gr.Slider(label="Melody Condition Sample Segment", minimum=-1, maximum=MAX_PROMPT_INDEX, step=1, value=0, interactive=True, info="Which 30 second segment to condition with, - 1 condition each segment independantly")
467
  with gr.Accordion("Video", open=False):
468
  with gr.Row():
469
  background= gr.Image(value="./assets/background.png", sources=["upload"], label="Background", width=768, height=512, type="filepath", interactive=True)
 
504
  "melody",
505
  "80s Pop Synth",
506
  950,
507
+ 0.6,
508
  5.0
509
  ],
510
  [
 
513
  "stereo-melody-large",
514
  "Country Guitar",
515
  750,
516
+ 0.7,
517
  4.75
518
  ],
519
  [
 
522
  "stereo-medium",
523
  "90s Rock Guitar",
524
  1150,
525
+ 0.7,
526
  4.5
527
  ],
528
  [
 
531
  "melody-large",
532
  "EDM my Bach",
533
  500,
534
+ 0.7,
535
  3.5
536
  ],
537
  [
 
540
  "medium",
541
  "LoFi Chill",
542
  1150,
543
+ 0.7,
544
  8.5
545
  ],
546
  ],