mirror of
				https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
				synced 2025-10-31 01:54:44 +00:00 
			
		
		
		
	Fix string quotes
This commit is contained in:
		
							parent
							
								
									e219211ff6
								
							
						
					
					
						commit
						2dc2bc4ab5
					
				| @ -129,7 +129,7 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s | ||||
|         mask = None | ||||
|     elif mode == 2:  # inpaint | ||||
|         image, mask = init_img_with_mask["image"], init_img_with_mask["mask"] | ||||
|         mask = mask.convert('RGBA').split()[3].convert('L').point(lambda x: 255 if x > 0 else 0) | ||||
|         mask = mask.convert("RGBA").split()[3].convert("L").point(lambda x: 255 if x > 0 else 0) | ||||
|         image = image.convert("RGB") | ||||
|     elif mode == 3:  # inpaint sketch | ||||
|         image = inpaint_color_sketch | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 catboxanon
						catboxanon