ssboost commited on
Commit
1935105
ยท
verified ยท
1 Parent(s): 71c40f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "IMPORTANT: Change camera position and shooting angle! Move camera to side view, photograph from different angle, change viewpoint from front to side perspective, shot from 45-degree side angle, camera repositioning, different photography angle, side profile view, alternative camera angle, shoot from diagonal perspective, change photographic viewpoint"
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",