openfree commited on
Commit
affbe94
ยท
verified ยท
1 Parent(s): 318e1b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -651,10 +651,6 @@ EXAMPLE_PROMPTS: dict[str, str] = {
651
  ),
652
  }
653
 
654
-
655
-
656
-
657
-
658
  STYLE_KEYS = list(EXAMPLE_PROMPTS.keys())
659
 
660
  def pick_flux_style(slide_idx: int) -> str:
@@ -726,6 +722,8 @@ def generate_flux_image_via_api(prompt: str) -> Optional[str]:
726
  do_img2img=False,
727
  api_name="/generate_image", # โ† ์—”๋“œํฌ์ธํŠธ ํ™•์ธ ํ•„์ˆ˜!
728
  )
 
 
729
 
730
  # 1) tuple ํ˜•์‹ (๊ธฐ์กด)
731
  if isinstance(result, tuple) and result:
 
651
  ),
652
  }
653
 
 
 
 
 
654
  STYLE_KEYS = list(EXAMPLE_PROMPTS.keys())
655
 
656
  def pick_flux_style(slide_idx: int) -> str:
 
722
  do_img2img=False,
723
  api_name="/generate_image", # โ† ์—”๋“œํฌ์ธํŠธ ํ™•์ธ ํ•„์ˆ˜!
724
  )
725
+
726
+ logger.info(f"[FLUX] raw result type={type(result)} value={str(result)[:200]}")
727
 
728
  # 1) tuple ํ˜•์‹ (๊ธฐ์กด)
729
  if isinstance(result, tuple) and result: