Humphreykowl commited on
Commit
399ec80
·
verified ·
1 Parent(s): 57e54f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -515,8 +515,8 @@ def create_3d_fitting_prompt(design_index, analysis):
515
  return "高精度3D虚拟时尚试穿,真实人体模特,全身展示,工作室灯光"
516
 
517
  def create_placeholder_image(width, height):
518
- """创建占位图像"""
519
- color = (random.randint(120, 200), random.randint(120, 200), random.randint(120, 200)
520
  return Image.new('RGB', (width, height), color=color)
521
 
522
  def create_gradio_interface():
 
515
  return "高精度3D虚拟时尚试穿,真实人体模特,全身展示,工作室灯光"
516
 
517
  def create_placeholder_image(width, height):
518
+ """创建占位图像 - 修复语法错误"""
519
+ color = (random.randint(120, 200), random.randint(120, 200), random.randint(120, 200))
520
  return Image.new('RGB', (width, height), color=color)
521
 
522
  def create_gradio_interface():