feat: 그날 코디 옷은 스냅에 태그된 무신사 상품만, 스타일 스냅을 더 받아 오고 후보 60개까지 봄(여성 스트릿 스냅 부족), buildPrompt 내보냄
This commit is contained in:
1 parent
7144084d8c
commit
ceacd5615b
3 files changed
+6
-5
No files matched your search
@@ -38,7 +38,7 @@ function layoutFor(slots) {
|
||||
return `top row: ${topRow}; bottom row: ${bottomRow}. Clearly separate spots, nothing else in between.`
|
||||
}
|
||||
|
||||
function buildPrompt(persona, outfit, weather) {
|
||||
export function buildPrompt(persona, outfit, weather) {
|
||||
const by = Object.fromEntries(outfit.items.map((it) => [it.slot, it]))
|
||||
const drawn = DRAW_ORDER.filter((s) => by[s])
|
||||
const items = drawn.map((s, i) => `(${i + 1}) ${by[s].prompt}${s === 'outer' ? ' as the outer layer' : ''}`).join(', ')
|
||||
|
||||
Reference in new issue
Block a user