Spaces:
Running
on
Zero
Running
on
Zero
update IOL
Browse files
app.py
CHANGED
|
@@ -43,7 +43,6 @@ pipe = StableDiffusionXLFillPipeline.from_pretrained(
|
|
| 43 |
|
| 44 |
pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
|
| 45 |
|
| 46 |
-
|
| 47 |
def can_expand(source_width, source_height, target_width, target_height, alignment):
|
| 48 |
"""Checks if the image can be expanded based on the alignment."""
|
| 49 |
if alignment in ("Left", "Right") and source_width >= target_width:
|
|
|
|
| 43 |
|
| 44 |
pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
|
| 45 |
|
|
|
|
| 46 |
def can_expand(source_width, source_height, target_width, target_height, alignment):
|
| 47 |
"""Checks if the image can be expanded based on the alignment."""
|
| 48 |
if alignment in ("Left", "Right") and source_width >= target_width:
|