Update app.py
Browse files
app.py
CHANGED
|
@@ -68,8 +68,8 @@ def change_product_angle(image_path):
|
|
| 68 |
return None, "Replicate API ํ ํฐ์ด ํ์ํฉ๋๋ค."
|
| 69 |
|
| 70 |
try:
|
| 71 |
-
# ์นด๋ฉ๋ผ ์์น ๋ณ๊ฒฝ ํ๋กฌํํธ
|
| 72 |
-
angle_prompt = "
|
| 73 |
|
| 74 |
output = replicate.run(
|
| 75 |
"black-forest-labs/flux-kontext-pro",
|
|
|
|
| 68 |
return None, "Replicate API ํ ํฐ์ด ํ์ํฉ๋๋ค."
|
| 69 |
|
| 70 |
try:
|
| 71 |
+
# ๋งค์ฐ ๊ฐ๋ ฅํ ์นด๋ฉ๋ผ ์์น ๋ณ๊ฒฝ ํ๋กฌํํธ
|
| 72 |
+
angle_prompt = "Transform this image to show the same product from a COMPLETELY DIFFERENT camera angle. NOT the same front view! Change to: side view, 45-degree angle, three-quarter perspective, diagonal view, tilted camera position, rotated viewpoint, different photographic perspective, alternate angle, repositioned camera shot, new viewing angle, changed orientation shot"
|
| 73 |
|
| 74 |
output = replicate.run(
|
| 75 |
"black-forest-labs/flux-kontext-pro",
|