RamAnanth1 commited on
Commit
71b8b82
1 Parent(s): 3b1f734

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def process_canny(input_image, prompt, a_prompt, n_prompt, num_samples, image_re
54
  un_cond = {"c_concat": [control], "c_crossattn": [canny_model.get_learned_conditioning([n_prompt] * num_samples)]}
55
  shape = (4, H // 8, W // 8)
56
 
57
- samples, intermediates = ddim_sampler_canny.sample(ddim_steps, num_samples,
58
  shape, cond, verbose=False, eta=eta,
59
  unconditional_guidance_scale=scale,
60
  unconditional_conditioning=un_cond)
 
54
  un_cond = {"c_concat": [control], "c_crossattn": [canny_model.get_learned_conditioning([n_prompt] * num_samples)]}
55
  shape = (4, H // 8, W // 8)
56
 
57
+ samples, intermediates = ddim_sampler.sample(ddim_steps, num_samples,
58
  shape, cond, verbose=False, eta=eta,
59
  unconditional_guidance_scale=scale,
60
  unconditional_conditioning=un_cond)