Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
β’
365e727
1
Parent(s):
55f0286
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ ITEMS_NAMES = [ "π‘ Lamp","π Bag","ποΈ Sofa","πͺ Chair","ποΈ Car"
|
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
22 |
DEFAULT_ITEM_NAME = "π‘ Lamp"
|
23 |
empty_input_image = { 'background': Image.new("L", (512, 512), 255),
|
24 |
-
'layers': [Image.new("L", (512, 512), 255)],
|
25 |
'composite': Image.new("L", (512, 512), 255) }
|
26 |
|
27 |
def pil_image_to_data_uri(img, format='PNG'):
|
|
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
22 |
DEFAULT_ITEM_NAME = "π‘ Lamp"
|
23 |
empty_input_image = { 'background': Image.new("L", (512, 512), 255),
|
24 |
+
'layers': [Image.new("L", (512, 512), 255),Image.new("L", (512, 512), 255)],
|
25 |
'composite': Image.new("L", (512, 512), 255) }
|
26 |
|
27 |
def pil_image_to_data_uri(img, format='PNG'):
|