Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,6 +274,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 274 |
value=3.5
|
| 275 |
)
|
| 276 |
|
|
|
|
| 277 |
def get_random_seed():
|
| 278 |
return torch.randint(0, 1000000, (1,)).item()
|
| 279 |
|
|
@@ -313,6 +314,19 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 313 |
<p style="font-weight: bold; margin: 0 0 0.5em 0;">๐ฟ Macro Nature</p>
|
| 314 |
<p style="margin: 0; font-style: italic;">"Extreme macro photography of a dewdrop on a butterfly wing, rainbow light refraction, crystalline clarity, intricate wing scales visible, natural bokeh background, professional studio lighting, shot with Canon MP-E 65mm lens"</p>
|
| 315 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
</div>
|
| 317 |
""")
|
| 318 |
|
|
@@ -385,4 +399,4 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 385 |
)
|
| 386 |
|
| 387 |
if __name__ == "__main__":
|
| 388 |
-
demo.launch(allowed_paths=[PERSISTENT_DIR])
|
|
|
|
| 274 |
value=3.5
|
| 275 |
)
|
| 276 |
|
| 277 |
+
# get_random_seed ํจ์๋ฅผ Advanced Settings ๋ด๋ถ์์ ์ ์
|
| 278 |
def get_random_seed():
|
| 279 |
return torch.randint(0, 1000000, (1,)).item()
|
| 280 |
|
|
|
|
| 314 |
<p style="font-weight: bold; margin: 0 0 0.5em 0;">๐ฟ Macro Nature</p>
|
| 315 |
<p style="margin: 0; font-style: italic;">"Extreme macro photography of a dewdrop on a butterfly wing, rainbow light refraction, crystalline clarity, intricate wing scales visible, natural bokeh background, professional studio lighting, shot with Canon MP-E 65mm lens"</p>
|
| 316 |
</div>
|
| 317 |
+
<!-- ์ถ๊ฐ ์์ ํ๋กฌํํธ -->
|
| 318 |
+
<div style="background: rgba(75, 121, 161, 0.1); padding: 1em; border-radius: 8px; margin-bottom: 1em;">
|
| 319 |
+
<p style="font-weight: bold; margin: 0 0 0.5em 0;">๐ค Futuristic Cityscape</p>
|
| 320 |
+
<p style="margin: 0; font-style: italic;">"A vibrant futuristic cityscape at night with neon lights, holograms, flying cars, and towering skyscrapers, ultra-detailed, cinematic atmosphere"</p>
|
| 321 |
+
</div>
|
| 322 |
+
<div style="background: rgba(75, 121, 161, 0.1); padding: 1em; border-radius: 8px; margin-bottom: 1em;">
|
| 323 |
+
<p style="font-weight: bold; margin: 0 0 0.5em 0;">๐ง Enchanted Forest</p>
|
| 324 |
+
<p style="margin: 0; font-style: italic;">"A mystical enchanted forest filled with luminescent flora, magical creatures, soft ethereal light, ultra-detailed, dreamlike atmosphere"</p>
|
| 325 |
+
</div>
|
| 326 |
+
<div style="background: rgba(75, 121, 161, 0.1); padding: 1em; border-radius: 8px;">
|
| 327 |
+
<p style="font-weight: bold; margin: 0 0 0.5em 0;">๐ Cosmic Explosion</p>
|
| 328 |
+
<p style="margin: 0; font-style: italic;">"A stunning cosmic explosion in deep space, vibrant nebulae, swirling galaxies, high-resolution digital art, ethereal and awe-inspiring"</p>
|
| 329 |
+
</div>
|
| 330 |
</div>
|
| 331 |
""")
|
| 332 |
|
|
|
|
| 399 |
)
|
| 400 |
|
| 401 |
if __name__ == "__main__":
|
| 402 |
+
demo.launch(allowed_paths=[PERSISTENT_DIR])
|