Spaces:
Runtime error
Runtime error
Commit
·
a6fa0df
1
Parent(s):
c3c165f
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ scribble_model.load_state_dict(load_state_dict(cached_download(
|
|
| 46 |
scribble_model = scribble_model.cuda()
|
| 47 |
ddim_sampler_scribble = DDIMSampler(scribble_model)
|
| 48 |
|
| 49 |
-
save_memory =
|
| 50 |
|
| 51 |
def process(input_image, prompt, input_control, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, scale, seed, eta, low_threshold, high_threshold):
|
| 52 |
# TODO: Add other control tasks
|
|
|
|
| 46 |
scribble_model = scribble_model.cuda()
|
| 47 |
ddim_sampler_scribble = DDIMSampler(scribble_model)
|
| 48 |
|
| 49 |
+
save_memory = False
|
| 50 |
|
| 51 |
def process(input_image, prompt, input_control, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, scale, seed, eta, low_threshold, high_threshold):
|
| 52 |
# TODO: Add other control tasks
|