Kims12 commited on
Commit
cfded4c
·
verified ·
1 Parent(s): f7b8c2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -88,9 +88,8 @@ def initialize_backgrounds():
88
  COLORFUL_PATTERN_BACKGROUNDS = {"화려한 꽃 패턴": "vibrant floral pattern backdrop"}
89
  if not ABSTRACT_BACKGROUNDS:
90
  ABSTRACT_BACKGROUNDS = {"네온 라이트": "neon light abstract background with vibrant glowing elements"}
91
- if not jewelry_choices:
92
- logger.warning("쥬얼리 배경 옵션이 비어 있습니다. JSON 파일을 확인하세요.")
93
- jewelry_choices = ["기본 쥬얼리 배경"]
94
 
95
  logger.info("모든 배경 옵션 초기화 완료")
96
 
@@ -117,8 +116,7 @@ def initialize_dropdowns():
117
  "tech": tech_choices,
118
  "colorful": colorful_choices,
119
  "abstract": abstract_choices,
120
- "jewelry": jewelry_choices # 새로 추가
121
-
122
  }
123
 
124
 
 
88
  COLORFUL_PATTERN_BACKGROUNDS = {"화려한 꽃 패턴": "vibrant floral pattern backdrop"}
89
  if not ABSTRACT_BACKGROUNDS:
90
  ABSTRACT_BACKGROUNDS = {"네온 라이트": "neon light abstract background with vibrant glowing elements"}
91
+ if not JEWELRY_BACKGROUNDS:
92
+ JEWELRY_BACKGROUNDS = {"클래식 화이트 실크": "pristine white silk fabric backdrop"}
 
93
 
94
  logger.info("모든 배경 옵션 초기화 완료")
95
 
 
116
  "tech": tech_choices,
117
  "colorful": colorful_choices,
118
  "abstract": abstract_choices,
119
+ "jewelry": jewelry_choices, # 새로 추가
 
120
  }
121
 
122