Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def controlnet(i, prompt, control_task, seed_in, ddim_steps, scale):
|
|
53 |
|
54 |
if control_task == 'Canny':
|
55 |
result = model.process_canny(np_img, prompt, a_prompt, n_prompt, num_samples,
|
56 |
-
image_resolution,
|
57 |
elif control_task == 'Depth':
|
58 |
result = model.process_depth(np_img, prompt, a_prompt, n_prompt, num_samples,
|
59 |
image_resolution, detect_resolution, ddim_steps, scale, seed_in, eta)
|
|
|
53 |
|
54 |
if control_task == 'Canny':
|
55 |
result = model.process_canny(np_img, prompt, a_prompt, n_prompt, num_samples,
|
56 |
+
image_resolution, ddim_steps, scale, seed_in, eta, low_threshold, high_threshold)
|
57 |
elif control_task == 'Depth':
|
58 |
result = model.process_depth(np_img, prompt, a_prompt, n_prompt, num_samples,
|
59 |
image_resolution, detect_resolution, ddim_steps, scale, seed_in, eta)
|