Spaces:
Runtime error
Runtime error
Update app.py
Browse files38 unmodified lines3940414243444534 unmodified lines8081828384858687888938 unmodified linesip_adapter_image=None,progress=gr.Progress(track_tqdm=True),):print(controlnet_checkbox, ip_adapter_checkbox)generator = torch.Generator(device).manual_seed(seed)ckpt_dir='./model_output'34 unmodified linescache_dir="./models_cache",torch_dtype=torch_dtype)pipe = StableDiffusionPipeline.from_pretrained(model_id,controlnet=controlnet,torch_dtype=torch_dtype,safety_checker=None).to(device)else:pipe = StableDiffusionPipeline.from_pretrained(model_id,torch_dtype=torch_dtype,38 unmodified lines39404142434434 unmodified lines7980818283848586878838 unmodified linesip_adapter_image=None,progress=gr.Progress(track_tqdm=True),):generator = torch.Generator(device).manual_seed(seed)ckpt_dir='./model_output'34 unmodified linescache_dir="./models_cache",torch_dtype=torch_dtype)pipe = StableDiffusionControlNetPipeline.from_pretrained(model_id,controlnet=controlnet,torch_dtype=torch_dtype,safety_checker=None).to(device)else:pipe = StableDiffusionPipeline.from_pretrained(model_id,torch_dtype=torch_dtype,
app.py+4-5