Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,7 +167,7 @@ def generate_input_image(image_path,input_choice):
|
|
| 167 |
conditioning_image = extract_depth_map(image_path)
|
| 168 |
pipe = pipe_depth
|
| 169 |
return conditioning_image, pipe
|
| 170 |
-
def generate_output_image(prompt,pipe)
|
| 171 |
#---------------------
|
| 172 |
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
|
| 173 |
pipe.enable_attention_slicing()
|
|
|
|
| 167 |
conditioning_image = extract_depth_map(image_path)
|
| 168 |
pipe = pipe_depth
|
| 169 |
return conditioning_image, pipe
|
| 170 |
+
def generate_output_image(prompt,pipe):
|
| 171 |
#---------------------
|
| 172 |
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
|
| 173 |
pipe.enable_attention_slicing()
|