owaiskaifi commited on
Commit
7171058
1 Parent(s): ff05e00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ from diffusers.utils import load_image
6
 
7
  app = Flask(__name__)
8
 
9
- # controlnet = ControlNetModel.from_pretrained("DionTimmer/controlnet_qrcode-control_v1p_sd15",
10
- # torch_dtype=torch.float16)
11
 
12
  pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
13
  "runwayml/stable-diffusion-v1-5",
 
6
 
7
  app = Flask(__name__)
8
 
9
+ controlnet = ControlNetModel.from_pretrained("DionTimmer/controlnet_qrcode-control_v1p_sd15",
10
+ torch_dtype=torch.float16, local_files_only=False)
11
 
12
  pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
13
  "runwayml/stable-diffusion-v1-5",