tchung1970 Claude commited on
Commit
b8415f5
·
1 Parent(s): 2164597

Update 2nd example to hanbok (traditional Korean clothing)

Browse files

- Changed from specific gat prompt to broader hanbok clothing prompt
- Korean: '고양이가 전통 한국 한복을 입고 있는 모습으로 만들어 주세요'
- Now relies on AI translation instead of hardcoded mapping
- Updated documentation to reflect AI auto-translation
- More versatile prompt that allows for creative traditional Korean styling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ python_version: 3.11
41
  - 내부 처리 시 한국어 프롬프트가 자동으로 영어로 번역되어 AI 처리
42
  - **예시 프롬프트들** (표시: 한국어만, 처리: 영어 자동 번역):
43
  1. "텍스트를 'COOL NEON SIGN HERE'으로 변경해주세요" → "Change the text to 'COOL NEON SIGN HERE'"
44
- 2. "고양이가 전통 조선시대 검은 말총 갓만 쓰고 다른 옷은 입지 않은 모습으로 만들어 주세요" → "Please make the cat wear only a traditional Joseon-era black horsehair gat and no other clothing"
45
  3. "사진 스타일을 빈티지 만화책 스타일로 바꿔주세요" → "Change the photo style to vintage comic book"
46
 
47
  ### 기술적 변경사항
 
41
  - 내부 처리 시 한국어 프롬프트가 자동으로 영어로 번역되어 AI 처리
42
  - **예시 프롬프트들** (표시: 한국어만, 처리: 영어 자동 번역):
43
  1. "텍스트를 'COOL NEON SIGN HERE'으로 변경해주세요" → "Change the text to 'COOL NEON SIGN HERE'"
44
+ 2. "고양이가 전통 한국 한복을 입고 있는 모습으로 만들어 주세요" → AI 자동 번역
45
  3. "사진 스타일을 빈티지 만화책 스타일로 바꿔주세요" → "Change the photo style to vintage comic book"
46
 
47
  ### 기술적 변경사항
app.py CHANGED
@@ -295,7 +295,7 @@ with gr.Blocks(css=css) as demo:
295
  label="예시",
296
  examples=[
297
  ["neon_sign.png", "텍스트를 'COOL NEON SIGN HERE'으로 변경해주세요"],
298
- ["cat_sitting.jpg", "고양이가 전통 조선시대 검은 말총 갓만 쓰고 다른 옷은 입지 않은 모습으로 만들어 주세요"],
299
  ["pie.png", "사진 스타일을 빈티지 만화책 스타일로 바꿔주세요"]],
300
  inputs=[input_image, prompt],
301
  cache_examples=False,
 
295
  label="예시",
296
  examples=[
297
  ["neon_sign.png", "텍스트를 'COOL NEON SIGN HERE'으로 변경해주세요"],
298
+ ["cat_sitting.jpg", "고양이가 전통 한국 한복을 입고 있는 모습으로 만들어 주세요"],
299
  ["pie.png", "사진 스타일을 빈티지 만화책 스타일로 바꿔주세요"]],
300
  inputs=[input_image, prompt],
301
  cache_examples=False,