Vnmrsharma commited on
Commit
9ad7115
·
verified ·
1 Parent(s): 4a01895

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -33,16 +33,16 @@ def throttle():
33
 
34
  PROMPT_VARIATIONS = [
35
  # 1: Front view
36
- "Create a high-resolution 800×800px image of the EXACT SAME product from a front view. CRITICAL: The product must be a PIXEL-PERFECT match to the original - identical text, identical colors, identical materials, identical branding, identical dimensions, identical markings, identical finish, identical shadows, identical reflections. DO NOT modify ANY aspect of the product. ONLY change the viewing angle to front view. Maintain a pure white background with professional lighting. The output must be a high-quality, e-commerce ready image.",
37
 
38
  # 2: Left-side view
39
- "Create a high-resolution 800×800px image of the EXACT SAME product from a left-side three-quarter (45-degree) angle. CRITICAL: The product must be a PIXEL-PERFECT match to the original - identical text, identical colors, identical materials, identical branding, identical dimensions, identical markings, identical finish, identical shadows, identical reflections. DO NOT modify ANY aspect of the product. ONLY change the viewing angle to left-side view. Maintain a pure white background with professional lighting. The output must be a high-quality, e-commerce ready image.",
40
 
41
  # 3: Right-side view
42
- "Create a high-resolution 800×800px image of the EXACT SAME product from a right-side three-quarter (45-degree) angle. CRITICAL: The product must be a PIXEL-PERFECT match to the original - identical text, identical colors, identical materials, identical branding, identical dimensions, identical markings, identical finish, identical shadows, identical reflections. DO NOT modify ANY aspect of the product. ONLY change the viewing angle to right-side view. Maintain a pure white background with professional lighting. The output must be a high-quality, e-commerce ready image.",
43
 
44
  # 4: Top-down view
45
- "Create a high-resolution 800×800px image of the EXACT SAME product from a top-down (bird's-eye) angle. CRITICAL: The product must be a PIXEL-PERFECT match to the original - identical text, identical colors, identical materials, identical branding, identical dimensions, identical markings, identical finish, identical shadows, identical reflections. DO NOT modify ANY aspect of the product. ONLY change the viewing angle to top-down view. Maintain a pure white background with professional lighting. The output must be a high-quality, e-commerce ready image."
46
  ]
47
 
48
  # Detailed prompt variations for different backgrounds/angles
 
33
 
34
  PROMPT_VARIATIONS = [
35
  # 1: Front view
36
+ "Generate a PIXEL-PERFECT reproduction of the EXACT product from the input image, preserving all colors, text, shapes, and textures identically, on a PURE WHITE background. View: rotated 45° to the front-right.",
37
 
38
  # 2: Left-side view
39
+ "Generate a PIXEL-PERFECT reproduction of the EXACT product from the input image, preserving all colors, text, shapes, and textures identically, on a PURE WHITE background. View: direct front-facing",
40
 
41
  # 3: Right-side view
42
+ "Generate a PIXEL-PERFECT reproduction of the EXACT product from the input image, preserving all colors, text, shapes, and textures identically, on a PURE WHITE background. View: exact side profile (90° right).",
43
 
44
  # 4: Top-down view
45
+ "Generate a PIXEL-PERFECT reproduction of the EXACT product from the input image, preserving all colors, text, shapes, and textures identically, on a PURE WHITE background. View: directly from above (top-down)."
46
  ]
47
 
48
  # Detailed prompt variations for different backgrounds/angles