fix error at 0
This commit is contained in:
		
							parent
							
								
									fa3f1709cf
								
							
						
					
					
						commit
						48bcc7a5fc
					
				@ -1 +1 @@
 | 
				
			|||||||
version = '2.1.755'
 | 
					version = '2.1.756'
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								webui.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								webui.py
									
									
									
									
									
								
							@ -240,7 +240,7 @@ with shared.gradio_root:
 | 
				
			|||||||
                    base_model = gr.Dropdown(label='Base Model (SDXL only)', choices=modules.path.model_filenames, value=modules.path.default_base_model_name, show_label=True)
 | 
					                    base_model = gr.Dropdown(label='Base Model (SDXL only)', choices=modules.path.model_filenames, value=modules.path.default_base_model_name, show_label=True)
 | 
				
			||||||
                    refiner_model = gr.Dropdown(label='Refiner (SDXL or SD 1.5)', choices=['None'] + modules.path.model_filenames, value=modules.path.default_refiner_model_name, show_label=True)
 | 
					                    refiner_model = gr.Dropdown(label='Refiner (SDXL or SD 1.5)', choices=['None'] + modules.path.model_filenames, value=modules.path.default_refiner_model_name, show_label=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                refiner_switch = gr.Slider(label='Refiner Switch At', minimum=0.0, maximum=1.0, step=0.0001,
 | 
					                refiner_switch = gr.Slider(label='Refiner Switch At', minimum=0.1, maximum=1.0, step=0.0001,
 | 
				
			||||||
                                           info='When to switch from the base model to refiner.',
 | 
					                                           info='When to switch from the base model to refiner.',
 | 
				
			||||||
                                           value=modules.path.default_refiner_switch,
 | 
					                                           value=modules.path.default_refiner_switch,
 | 
				
			||||||
                                           visible=modules.path.default_refiner_model_name != 'None')
 | 
					                                           visible=modules.path.default_refiner_model_name != 'None')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user