Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -286,45 +286,48 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
286 |
elem_classes=["generate-btn"]
|
287 |
)
|
288 |
|
289 |
-
# ์์ ํ๋กฌํํธ ์์ญ
|
290 |
-
gr.
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
|
|
|
|
|
|
328 |
|
329 |
with gr.Column():
|
330 |
# ๋ฉ์ธ ์์ญ: ์์ฑ๋ ์ด๋ฏธ์ง์ ๊ฐค๋ฌ๋ฆฌ ํ์
|
|
|
286 |
elem_classes=["generate-btn"]
|
287 |
)
|
288 |
|
289 |
+
# ์ธํฐ๋ํฐ๋ธ ์์ ํ๋กฌํํธ ์์ญ
|
290 |
+
gr.Markdown("## Example Prompts")
|
291 |
+
example_prompts = [
|
292 |
+
{
|
293 |
+
"title": "๐
Cinematic Landscape",
|
294 |
+
"prompt": "A breathtaking mountain vista at golden hour with dramatic sunbeams piercing through a sea of clouds, snow-capped peaks reflecting warm light, ultra-high detail photography, and an award-winning landscape composition reminiscent of a masterpiece captured on Hasselblad."
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"title": "๐ผ๏ธ Fantasy Portrait",
|
298 |
+
"prompt": "An ethereal portrait of an elven queen with flowing silver hair, adorned with shimmering luminescent crystals and an intricate crown of twisted gold and moonstone, bathed in soft, magical lighting with highly detailed facial features that evoke ancient mysticism."
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"title": "๐ Cyberpunk Scene",
|
302 |
+
"prompt": "A neon-drenched cyberpunk street market in torrential rain, with holographic advertisements reflecting off wet asphalt, futuristic street vendors, and a dense urban atmosphere reminiscent of Blade Runner 2049, all rendered in vivid cinematic style."
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"title": "๐จ Abstract Art",
|
306 |
+
"prompt": "A vibrant abstract composition of flowing liquid colors, dynamic swirls of iridescent purples, teals, and gold, with geometric patterns emerging from chaosโan explosion of creativity that evokes modern expressionist masterpieces."
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"title": "๐ฟ Macro Nature",
|
310 |
+
"prompt": "An extreme macro photograph capturing a dewdrop delicately perched on a butterfly wing, revealing intricate wing scales and rainbow refractions of light, set against a naturally blurred bokeh background, like a high-end studio shot."
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"title": "๐ค Futuristic Cityscape",
|
314 |
+
"prompt": "A vibrant futuristic cityscape at night illuminated by neon lights, holographic billboards, and flying vehicles; towering skyscrapers and a bustling urban atmosphere rendered in ultra-detailed, cinematic style."
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"title": "๐ง Enchanted Forest",
|
318 |
+
"prompt": "A mystical, enchanted forest bathed in soft, ethereal light, filled with luminescent flora, magical creatures, and ancient trees draped in mossโevoking a dreamlike fairy tale ambiance with intricate details."
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"title": "๐ Cosmic Explosion",
|
322 |
+
"prompt": "A stunning cosmic explosion in deep space, with vibrant nebulae, swirling galaxies, and a burst of radiant colors illuminating the cosmosโcaptured in high-resolution digital art that is both ethereal and awe-inspiring."
|
323 |
+
}
|
324 |
+
]
|
325 |
+
# ๊ฐ ์์ ๋ง๋ค ๋ฒํผ์ ๋ง๋ค์ด ํด๋ฆญ ์ prompt์ ํด๋น ๋ฌธ๊ตฌ๊ฐ ์๋ ์ฝ์
๋๋๋ก ํจ
|
326 |
+
for ex in example_prompts:
|
327 |
+
btn = gr.Button(ex["title"], variant="secondary")
|
328 |
+
# ๊ธฐ๋ณธ ๋งค๊ฐ๋ณ์๋ก ex["prompt"]๋ฅผ ์บก์ฒํ์ฌ, ๋ฒํผ ํด๋ฆญ ์ ํ๋กฌํํธ์ ํด๋น ํ
์คํธ๋ฅผ ๋ฐํ
|
329 |
+
btn.click(fn=lambda prompt_text=ex["prompt"]: prompt_text, inputs=[], outputs=prompt)
|
330 |
+
gr.Markdown(f"*{ex['prompt']}*")
|
331 |
|
332 |
with gr.Column():
|
333 |
# ๋ฉ์ธ ์์ญ: ์์ฑ๋ ์ด๋ฏธ์ง์ ๊ฐค๋ฌ๋ฆฌ ํ์
|