Update app.py
Browse files
app.py
CHANGED
|
@@ -68,8 +68,8 @@ def create_coupang_thumbnail_fixed(image_path):
|
|
| 68 |
return None, "Replicate API ํ ํฐ์ด ํ์ํฉ๋๋ค."
|
| 69 |
|
| 70 |
try:
|
| 71 |
-
# ๊ณ ์ ๋ ํ๋กฌํํธ: ์์ ํ
|
| 72 |
-
fixed_prompt = "Professional product photography, dramatic 3/4 angle view rotated 45 degrees, dynamic perspective, pure white background #FFFFFF, natural soft shadows, clean white backdrop, high quality e-commerce photo, solid white background, product takes 85% of image space, tilted composition, angled product placement"
|
| 73 |
|
| 74 |
output = replicate.run(
|
| 75 |
"black-forest-labs/flux-kontext-pro",
|
|
|
|
| 68 |
return None, "Replicate API ํ ํฐ์ด ํ์ํฉ๋๋ค."
|
| 69 |
|
| 70 |
try:
|
| 71 |
+
# ๊ณ ์ ๋ ํ๋กฌํํธ: ์์ ํ ํฐ์๋ฐฐ๊ฒฝ + ๊ทธ๋ฆผ์ ํจ๊ณผ, 85%์ํ์ด๋ฏธ์ง, ๊ฐ๋๋ฅผ ๋ ํ์ด์
|
| 72 |
+
fixed_prompt = "Professional product photography, dramatic 3/4 angle view rotated 45 degrees, dynamic perspective, pure white background #FFFFFF, natural soft shadows on white background, clean white backdrop, high quality e-commerce photo, solid white background, product takes 85% of image space, tilted composition, angled product placement, subtle drop shadow on white surface"
|
| 73 |
|
| 74 |
output = replicate.run(
|
| 75 |
"black-forest-labs/flux-kontext-pro",
|