Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0d7f6a2
1
Parent(s):
3f39abb
CSS
Browse files
app.py
CHANGED
|
@@ -195,6 +195,14 @@ def flux_pipe_call_that_returns_an_iterable_of_images(
|
|
| 195 |
|
| 196 |
#------------------------------------------------------------------------------------------------------------------------------------------------------------#
|
| 197 |
loras = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
#D&D Style
|
| 199 |
{
|
| 200 |
"image": "https://huggingface.co/SouthbayJay/dnd-style-flux/resolve/main/27073771.jpeg",
|
|
@@ -202,15 +210,7 @@ loras = [
|
|
| 202 |
"repo": "SouthbayJay/dnd-style-flux",
|
| 203 |
"weights": "dnd_style_flux.safetensors",
|
| 204 |
"trigger_word": "dndstyle"
|
| 205 |
-
},
|
| 206 |
-
#DND Cartoon
|
| 207 |
-
{
|
| 208 |
-
"image": "https://huggingface.co/AIGCDuckBoss/fluxLora_gamecartoon/resolve/main/images/1.png",
|
| 209 |
-
"title": "DnD Character",
|
| 210 |
-
"repo": "AIGCDuckBoss/fluxLora_gamecartoon",
|
| 211 |
-
"weights": "fluxLora_gamecartoon.safetensors",
|
| 212 |
-
"trigger_word": "The overall style of the illustration is cartoon style"
|
| 213 |
-
},
|
| 214 |
#DND Weasley
|
| 215 |
{
|
| 216 |
"image": "https://cdn-uploads.huggingface.co/production/uploads/noauth/T9jOsT74oPDh7EwRizkjH.webp",
|
|
@@ -2387,7 +2387,6 @@ css = '''
|
|
| 2387 |
#title{text-align: center}
|
| 2388 |
#title h1{font-size: 3em; display:inline-flex; align-items:center; color: #ffd700;}
|
| 2389 |
#title img{width: 100px; margin-right: 0.5em}
|
| 2390 |
-
#title p { color: black; }
|
| 2391 |
#gallery .grid-wrap{height: 10vh}
|
| 2392 |
#lora_list{background: var(--block-background-fill);padding: 0 1em .3em; font-size: 90%; color: #ffd700;}
|
| 2393 |
.card_internal{display: flex;height: 100px;margin-top: .5em; border: 2px solid #8b4513; background: #3a3a3a;}
|
|
@@ -2400,12 +2399,14 @@ css = '''
|
|
| 2400 |
/* Specific to the Gradio app */
|
| 2401 |
|
| 2402 |
/* Target specific elements for the body yellow text */
|
| 2403 |
-
#
|
| 2404 |
color: #ffd700;
|
| 2405 |
}
|
| 2406 |
#title h1{font-size: 3em; display:inline-flex; align-items:center; color: #ffd700;}
|
| 2407 |
body {background: url('https://www.transparenttextures.com/patterns/black-linen.png') center; font-family: 'Cinzel', serif;}
|
| 2408 |
|
|
|
|
|
|
|
| 2409 |
'''
|
| 2410 |
|
| 2411 |
with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
|
|
@@ -2424,6 +2425,7 @@ with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
|
|
| 2424 |
elem_id="title",
|
| 2425 |
)
|
| 2426 |
|
|
|
|
| 2427 |
selected_index = gr.State(None)
|
| 2428 |
with gr.Row():
|
| 2429 |
with gr.Column(scale=3):
|
|
|
|
| 195 |
|
| 196 |
#------------------------------------------------------------------------------------------------------------------------------------------------------------#
|
| 197 |
loras = [
|
| 198 |
+
#DND Cartoon
|
| 199 |
+
{
|
| 200 |
+
"image": "https://huggingface.co/AIGCDuckBoss/fluxLora_gamecartoon/resolve/main/images/1.png",
|
| 201 |
+
"title": "DnD Character",
|
| 202 |
+
"repo": "AIGCDuckBoss/fluxLora_gamecartoon",
|
| 203 |
+
"weights": "fluxLora_gamecartoon.safetensors",
|
| 204 |
+
"trigger_word": "The overall style of the illustration is cartoon style"
|
| 205 |
+
},
|
| 206 |
#D&D Style
|
| 207 |
{
|
| 208 |
"image": "https://huggingface.co/SouthbayJay/dnd-style-flux/resolve/main/27073771.jpeg",
|
|
|
|
| 210 |
"repo": "SouthbayJay/dnd-style-flux",
|
| 211 |
"weights": "dnd_style_flux.safetensors",
|
| 212 |
"trigger_word": "dndstyle"
|
| 213 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 214 |
#DND Weasley
|
| 215 |
{
|
| 216 |
"image": "https://cdn-uploads.huggingface.co/production/uploads/noauth/T9jOsT74oPDh7EwRizkjH.webp",
|
|
|
|
| 2387 |
#title{text-align: center}
|
| 2388 |
#title h1{font-size: 3em; display:inline-flex; align-items:center; color: #ffd700;}
|
| 2389 |
#title img{width: 100px; margin-right: 0.5em}
|
|
|
|
| 2390 |
#gallery .grid-wrap{height: 10vh}
|
| 2391 |
#lora_list{background: var(--block-background-fill);padding: 0 1em .3em; font-size: 90%; color: #ffd700;}
|
| 2392 |
.card_internal{display: flex;height: 100px;margin-top: .5em; border: 2px solid #8b4513; background: #3a3a3a;}
|
|
|
|
| 2399 |
/* Specific to the Gradio app */
|
| 2400 |
|
| 2401 |
/* Target specific elements for the body yellow text */
|
| 2402 |
+
#gallery, #lora_list, .card_internal, .styler, #progress, .progress-container{
|
| 2403 |
color: #ffd700;
|
| 2404 |
}
|
| 2405 |
#title h1{font-size: 3em; display:inline-flex; align-items:center; color: #ffd700;}
|
| 2406 |
body {background: url('https://www.transparenttextures.com/patterns/black-linen.png') center; font-family: 'Cinzel', serif;}
|
| 2407 |
|
| 2408 |
+
/* Specific Style for the "p" tag*/
|
| 2409 |
+
#title p {color: black;}
|
| 2410 |
'''
|
| 2411 |
|
| 2412 |
with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
|
|
|
|
| 2425 |
elem_id="title",
|
| 2426 |
)
|
| 2427 |
|
| 2428 |
+
|
| 2429 |
selected_index = gr.State(None)
|
| 2430 |
with gr.Row():
|
| 2431 |
with gr.Column(scale=3):
|