Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,13 +35,13 @@ PROMPT_VARIATIONS = [
|
|
35 |
# 1: White background
|
36 |
"Chain-of-Thought: Step 1: Carefully analyze the input image and document every single detail of the product—text, colour, material finish, branding, dimensions, and any embellishments—ensuring no detail is overlooked. Step 2: Generate a highly professional 800×800px image with a pure white background and bright natural lighting, strictly preserving the product’s text, colour, shape and finish exactly as in the original image, with zero alterations. Step 3: Rigorously verify pixel-by-pixel that the output matches the original product data 100 %, then deliver a ready-for-e-commerce upload image.",
|
37 |
# 2: Chnaged
|
38 |
-
"Chain-of-Thought: Step 1:
|
39 |
# 3: Slightly elevated angle, modern indoor
|
40 |
-
"Chain-of-Thought: Step 1:
|
41 |
# 4: Low angle, cool ambient lighting
|
42 |
-
"Chain-of-Thought: Step 1: Carefully document every detail of the product
|
43 |
# 5: Vibrant outdoor background
|
44 |
-
"Chain-of-Thought: Step 1: Thoroughly observe the uploaded image, noting every aspect of the product-its color, branding, surface details, and proportions. Step 2: Render a high-quality 800×800px image of the product, isolated on a bright, pure white background with balanced padding and no visible shadows. Ensure the product’s appearance is an exact match to the original, with no creative changes. Step 3: Verify that the image is free from any background elements and is ready for direct use in online catalogs or marketplaces.",
|
45 |
]
|
46 |
|
47 |
# Detailed prompt variations for different backgrounds/angles
|
|
|
35 |
# 1: White background
|
36 |
"Chain-of-Thought: Step 1: Carefully analyze the input image and document every single detail of the product—text, colour, material finish, branding, dimensions, and any embellishments—ensuring no detail is overlooked. Step 2: Generate a highly professional 800×800px image with a pure white background and bright natural lighting, strictly preserving the product’s text, colour, shape and finish exactly as in the original image, with zero alterations. Step 3: Rigorously verify pixel-by-pixel that the output matches the original product data 100 %, then deliver a ready-for-e-commerce upload image.",
|
37 |
# 2: Chnaged
|
38 |
+
"Chain-of-Thought: Step 1: Carefully analyze the input image and document every single detail of the product-text, colour, material finish, branding, dimensions, and any embellishments-ensuring no detail is overlooked. Step 2: Generate a highly professional 800×800px image of the product from a left-side three-quarter (45-degree) angle, with a pure white background and bright natural lighting, strictly preserving the product’s text, colour, shape, and finish exactly as in the original image, with zero alterations.Step 3: Rigorously verify pixel-by-pixel that the output matches the original product data 100%, then deliver a ready-for-e-commerce upload image.",
|
39 |
# 3: Slightly elevated angle, modern indoor
|
40 |
+
"Chain-of-Thought: Step 1: Carefully analyze the input image and document every single detail of the product-text, colour, material finish, branding, dimensions, and any embellishments-ensuring no detail is overlooked.Step 2: Generate a highly professional 800×800px image of the product from a right-side three-quarter (45-degree) angle, with a pure white background and bright natural lighting, strictly preserving the product’s text, colour, shape, and finish exactly as in the original image, with zero alterations. Step 3: Rigorously verify pixel-by-pixel that the output matches the original product data 100%, then deliver a ready-for-e-commerce upload image.",
|
41 |
# 4: Low angle, cool ambient lighting
|
42 |
+
"Chain-of-Thought: Step 1: Carefully analyze the input image and document every single detail of the product-text, colour, material finish, branding, dimensions, and any embellishments-ensuring no detail is overlooked. Step 2: Generate a highly professional 800×800px image of the product from a top-down (bird’s-eye) angle, with a pure white background and bright natural lighting, strictly preserving the product’s text, colour, shape, and finish exactly as in the original image, with zero alterations. Step 3: Rigorously verify pixel-by-pixel that the output matches the original product data 100%, then deliver a ready-for-e-commerce upload image. ",
|
43 |
# 5: Vibrant outdoor background
|
44 |
+
# "Chain-of-Thought: Step 1: Thoroughly observe the uploaded image, noting every aspect of the product-its color, branding, surface details, and proportions. Step 2: Render a high-quality 800×800px image of the product, isolated on a bright, pure white background with balanced padding and no visible shadows. Ensure the product’s appearance is an exact match to the original, with no creative changes. Step 3: Verify that the image is free from any background elements and is ready for direct use in online catalogs or marketplaces.",
|
45 |
]
|
46 |
|
47 |
# Detailed prompt variations for different backgrounds/angles
|