tori29umai commited on
Commit
d233177
·
verified ·
1 Parent(s): cbc822a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ optimize_pipeline_(pipe, image=[Image.new("RGB", (1024, 1024)), Image.new("RGB",
56
  # --- Constants ---
57
  MAX_SEED = np.iinfo(np.int32).max
58
  PROMPTS = {
59
- "front": "Move the camera to a front-facing position so the full body of the character is visible. Background is plain white.",
60
  "back": "Move the camera to a back-facing position so the full body of the character is visible. Background is plain white.",
61
  "left": "Move the camera to a side view (profile) from the left so the full body of the character is visible. Background is plain white.",
62
  "right": "Move the camera to a side view (profile) from the right so the full body of the character is visible. Background is plain white."
@@ -140,7 +140,7 @@ css = """
140
  """
141
 
142
  with gr.Blocks(css=css) as demo:
143
- gr.Markdown("# キャラクター4視点立ち絵自動生成(PNG出力対応)")
144
  gr.Markdown("アップロードしたキャラクター画像から正面・背面・左右側面、さらに4枚連結のPNG画像を出力します。")
145
 
146
  with gr.Column(elem_id="col-container"):
 
56
  # --- Constants ---
57
  MAX_SEED = np.iinfo(np.int32).max
58
  PROMPTS = {
59
+ "front": "Move the camera to a front-facing position so the full body of the character is visible. The character stands with both arms extended slightly downward and close to the thighs, keeping the body evenly balanced on both sides. The legs are positioned symmetrically with a narrow stance. The background is plain white.",
60
  "back": "Move the camera to a back-facing position so the full body of the character is visible. Background is plain white.",
61
  "left": "Move the camera to a side view (profile) from the left so the full body of the character is visible. Background is plain white.",
62
  "right": "Move the camera to a side view (profile) from the right so the full body of the character is visible. Background is plain white."
 
140
  """
141
 
142
  with gr.Blocks(css=css) as demo:
143
+ gr.Markdown("# キャラクター4視点立ち絵自動生成")
144
  gr.Markdown("アップロードしたキャラクター画像から正面・背面・左右側面、さらに4枚連結のPNG画像を出力します。")
145
 
146
  with gr.Column(elem_id="col-container"):