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 highโ€‘quality 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
  )