Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
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'):
|