dvir-bria commited on
Commit
d2f98fb
1 Parent(s): 37e1426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -95,8 +95,6 @@ def get_canny_filter(image):
95
  @spaces.GPU
96
  def generate_(prompt, negative_prompt, canny_image, num_steps, controlnet_conditioning_scale, seed):
97
  generator = torch.Generator("cuda").manual_seed(seed)
98
- print(pipe.unet.dtype)
99
- print(pipe.controlnet.dtype)
100
  images = pipe(
101
  prompt, negative_prompt=negative_prompt, image=canny_image, num_inference_steps=num_steps, controlnet_conditioning_scale=float(controlnet_conditioning_scale),
102
  generator=generator,
 
95
  @spaces.GPU
96
  def generate_(prompt, negative_prompt, canny_image, num_steps, controlnet_conditioning_scale, seed):
97
  generator = torch.Generator("cuda").manual_seed(seed)
 
 
98
  images = pipe(
99
  prompt, negative_prompt=negative_prompt, image=canny_image, num_inference_steps=num_steps, controlnet_conditioning_scale=float(controlnet_conditioning_scale),
100
  generator=generator,