@@ -463,7 +463,7 @@ def ui(**kwargs):
463463 melody_filepath = gr .Audio (sources = ["upload" ], type = "filepath" , label = "Melody Condition (optional)" , interactive = True , elem_id = "melody-input" )
464464 with gr .Column ():
465465 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" )
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" )
467467 with gr .Accordion ("Video" , open = False ):
468468 with gr .Row ():
469469 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):
504504 "melody" ,
505505 "80s Pop Synth" ,
506506 950 ,
507- 0 , 6 ,
507+ 0. 6 ,
508508 5.0
509509 ],
510510 [
@@ -513,7 +513,7 @@ def ui(**kwargs):
513513 "stereo-melody-large" ,
514514 "Country Guitar" ,
515515 750 ,
516- 0 , 7 ,
516+ 0. 7 ,
517517 4.75
518518 ],
519519 [
@@ -522,7 +522,7 @@ def ui(**kwargs):
522522 "stereo-medium" ,
523523 "90s Rock Guitar" ,
524524 1150 ,
525- 0 , 7 ,
525+ 0. 7 ,
526526 4.5
527527 ],
528528 [
@@ -531,7 +531,7 @@ def ui(**kwargs):
531531 "melody-large" ,
532532 "EDM my Bach" ,
533533 500 ,
534- 0 , 7 ,
534+ 0. 7 ,
535535 3.5
536536 ],
537537 [
@@ -540,7 +540,7 @@ def ui(**kwargs):
540540 "medium" ,
541541 "LoFi Chill" ,
542542 1150 ,
543- 0 , 7 ,
543+ 0. 7 ,
544544 8.5
545545 ],
546546 ],
0 commit comments