seawolf2357 commited on
Commit
3233d92
·
verified ·
1 Parent(s): d6749f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -74,19 +74,19 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
74
  error_img = Image.new("RGB", (width, height), color=(0, 0, 0))
75
  return error_img
76
 
77
- # Custom styling
78
  css = """
79
- body {background: #0f0f0f; color: #fafafa; font-family: 'Noto Sans', sans-serif;}
80
  #col-container {margin: 0 auto; max-width: 640px;}
81
- .gr-button {background: #2563eb; color: #ffffff; border-radius: 8px;}
82
- #prompt-box textarea {font-size: 1.1rem; height: 3rem;}
83
  """
84
 
85
  with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
86
  gr.Markdown(
87
  """
88
  ## 🖌️ Stable Diffusion XL Playground
89
- Generate high quality illustrations with a single prompt.
90
  **Tip:** Write in Korean or English. Korean will be translated automatically.
91
  """
92
  )
@@ -104,13 +104,14 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
104
 
105
  result = gr.Image(label="", show_label=False)
106
 
 
107
  examples = gr.Examples(
108
  examples=[
109
- ["어두운 재즈 바에서 담배 연기를 내뿜는 미스터리한 팜파탈, 성인용 애니메이션 스타일"],
110
- ["노출이 강조된 드레스를 입은 고딕 뱀파이어 여왕, 드라마틱 조명, 성인 애니 아트"],
111
- ["은은한 조명의 온천에서 연인이 마주 있는 관능적 장면, 성인용 애니메이션"],
112
- ["네온이 빛나는 사이버펑크 클럽 무대에서 도발적인 의상을 입은 댄서, 성인 애니 스타일"],
113
- ["달빛 아래 요염한 마법사가 주문을 외우는 판타지 장면, 성인용 애니 일러스트"],
114
  ],
115
  inputs=[prompt],
116
  )
 
74
  error_img = Image.new("RGB", (width, height), color=(0, 0, 0))
75
  return error_img
76
 
77
+ # Custom styling – bright pastel theme
78
  css = """
79
+ body {background: #f2f1f7; color: #222; font-family: 'Noto Sans', sans-serif;}
80
  #col-container {margin: 0 auto; max-width: 640px;}
81
+ .gr-button {background: #7fbdf6; color: #ffffff; border-radius: 8px;}
82
+ #prompt-box textarea {font-size: 1.1rem; height: 3rem; background: #ffffff; color: #222;}
83
  """
84
 
85
  with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
86
  gr.Markdown(
87
  """
88
  ## 🖌️ Stable Diffusion XL Playground
89
+ Generate highquality illustrations with a single prompt.
90
  **Tip:** Write in Korean or English. Korean will be translated automatically.
91
  """
92
  )
 
104
 
105
  result = gr.Image(label="", show_label=False)
106
 
107
+ # Adult anime‑style example prompts
108
  examples = gr.Examples(
109
  examples=[
110
+ ["Seductive anime woman lounging in a dimly lit bar, adult anime style, ultra‑detail"],
111
+ ["Moody mature anime scene of two lovers kissing under neon rain, sensual atmosphere"],
112
+ ["Elegant vampire countess in gothic lingerie, candle‑lit boudoir, adult anime aesthetic"],
113
+ ["Futuristic nightclub stage with a curvaceous android dancer, vibrant neon, adult anime"],
114
+ ["Dark fantasy warrior queen in revealing armor, dramatic spotlight, adult anime style"],
115
  ],
116
  inputs=[prompt],
117
  )