Spaces:
Runtime error
Runtime error
Update app.py
Browse files83 unmodified lines84858687888990159 unmodified lines25025125225325425525625783 unmodified linescontrolnet=controlnet,torch_dtype=torch_dtype,safety_checker=None).to(device)controlnet_image = load_image(controlnet_image).convert('RGB')else:pipe = StableDiffusionPipeline.from_pretrained(model_id,torch_dtype=torch_dtype,159 unmodified lines)ip_adapter_image = gr.Image(label="IPAdapter condition image",type="pil",format="png")ip_adapter_checkbox.change(fn=lambda x: gr.Row.update(visible=x),83 unmodified lines8485868788899091159 unmodified lines25125225325425525625783 unmodified linescontrolnet=controlnet,torch_dtype=torch_dtype,safety_checker=None).to(device)controlnet_image = load_image(controlnet_image).convert('RGB')print(type(controlnet_image))else:pipe = StableDiffusionPipeline.from_pretrained(model_id,torch_dtype=torch_dtype,159 unmodified lines)ip_adapter_image = gr.Image(label="IPAdapter condition image",type="pil")ip_adapter_checkbox.change(fn=lambda x: gr.Row.update(visible=x),
app.py+3-3