Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
478c67d
1
Parent(s):
dc908ae
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ def run(image, item_name):
|
|
38 |
if image["composite"] is None:
|
39 |
ones = Image.new("L", (512, 512), 255)
|
40 |
return ones
|
|
|
41 |
prompt = item_name.split()[1] + " professional 3d model. octane render, highly detailed, volumetric, dramatic lighting"
|
42 |
inverted_image = ImageOps.invert(image["composite"])
|
43 |
converted_image = inverted_image.convert("RGB")
|
|
|
38 |
if image["composite"] is None:
|
39 |
ones = Image.new("L", (512, 512), 255)
|
40 |
return ones
|
41 |
+
print(item_name.split()[1])
|
42 |
prompt = item_name.split()[1] + " professional 3d model. octane render, highly detailed, volumetric, dramatic lighting"
|
43 |
inverted_image = ImageOps.invert(image["composite"])
|
44 |
converted_image = inverted_image.convert("RGB")
|