mirror of
				https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
				synced 2025-11-04 12:03:36 +00:00 
			
		
		
		
	Merge pull request #14523 from AUTOMATIC1111/paste-infotext-cast-int-as-float
paste infotext cast int as float
This commit is contained in:
		
						commit
						f903b4dda3
					
				@ -479,6 +479,8 @@ def connect_paste(button, paste_fields, input_comp, override_settings_component,
 | 
			
		||||
 | 
			
		||||
                    if valtype == bool and v == "False":
 | 
			
		||||
                        val = False
 | 
			
		||||
                    elif valtype == int:
 | 
			
		||||
                        val = float(v)
 | 
			
		||||
                    else:
 | 
			
		||||
                        val = valtype(v)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user