Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	[feat] change max infer setp to 60
Browse files- ui/components.py +1 -1
 
    	
        ui/components.py
    CHANGED
    
    | 
         @@ -75,7 +75,7 @@ def create_text2music_ui( 
     | 
|
| 75 | 
         
             
                        lyrics = gr.Textbox(lines=9, label="Lyrics", max_lines=13, value=LYRIC_DEFAULT, info="Support lyric structure tags like [verse], [chorus], and [bridge] to separate different parts of the lyrics.\nUse [instrumental] or [inst] to generate instrumental music. Not support genre structure tag in lyrics")
         
     | 
| 76 | 
         | 
| 77 | 
         
             
                        with gr.Accordion("Basic Settings", open=False):
         
     | 
| 78 | 
         
            -
                            infer_step = gr.Slider(minimum=1, maximum= 
     | 
| 79 | 
         
             
                            guidance_scale = gr.Slider(minimum=0.0, maximum=200.0, step=0.1, value=15.0, label="Guidance Scale", interactive=True, info="When guidance_scale_lyric > 1 and guidance_scale_text > 1, the guidance scale will not be applied.")
         
     | 
| 80 | 
         
             
                            guidance_scale_text = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="Guidance Scale Text", interactive=True, info="Guidance scale for text condition. It can only apply to cfg. set guidance_scale_text=5.0, guidance_scale_lyric=1.5 for start")
         
     | 
| 81 | 
         
             
                            guidance_scale_lyric = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="Guidance Scale Lyric", interactive=True)
         
     | 
| 
         | 
|
| 75 | 
         
             
                        lyrics = gr.Textbox(lines=9, label="Lyrics", max_lines=13, value=LYRIC_DEFAULT, info="Support lyric structure tags like [verse], [chorus], and [bridge] to separate different parts of the lyrics.\nUse [instrumental] or [inst] to generate instrumental music. Not support genre structure tag in lyrics")
         
     | 
| 76 | 
         | 
| 77 | 
         
             
                        with gr.Accordion("Basic Settings", open=False):
         
     | 
| 78 | 
         
            +
                            infer_step = gr.Slider(minimum=1, maximum=60, step=1, value=27, label="Infer Steps", interactive=True)
         
     | 
| 79 | 
         
             
                            guidance_scale = gr.Slider(minimum=0.0, maximum=200.0, step=0.1, value=15.0, label="Guidance Scale", interactive=True, info="When guidance_scale_lyric > 1 and guidance_scale_text > 1, the guidance scale will not be applied.")
         
     | 
| 80 | 
         
             
                            guidance_scale_text = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="Guidance Scale Text", interactive=True, info="Guidance scale for text condition. It can only apply to cfg. set guidance_scale_text=5.0, guidance_scale_lyric=1.5 for start")
         
     | 
| 81 | 
         
             
                            guidance_scale_lyric = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="Guidance Scale Lyric", interactive=True)
         
     |