Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
a72fdf9
1
Parent(s):
76b0dfc
Updated style.css README.md app.py and added my own prompts to the config.py
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ app_file: app.py
|
|
9 |
license: mit
|
10 |
pinned: false
|
11 |
suggested_hardware: a10g-small
|
12 |
-
short_description:
|
13 |
---
|
14 |
|
15 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
9 |
license: mit
|
10 |
pinned: false
|
11 |
suggested_hardware: a10g-small
|
12 |
+
short_description: Animagine XL 3.1 generates high-quality anime images from textual prompts
|
13 |
---
|
14 |
|
15 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -213,14 +213,9 @@ with gr.Blocks(css="style.css", theme="NoCrypt/[email protected]") as demo:
|
|
213 |
elem_id="title",
|
214 |
)
|
215 |
gr.Markdown(
|
216 |
-
f"""
|
217 |
elem_id="subtitle",
|
218 |
)
|
219 |
-
gr.DuplicateButton(
|
220 |
-
value="Duplicate Space for private use",
|
221 |
-
elem_id="duplicate-button",
|
222 |
-
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
223 |
-
)
|
224 |
with gr.Row():
|
225 |
with gr.Column(scale=2):
|
226 |
with gr.Tab("Txt2img"):
|
|
|
213 |
elem_id="title",
|
214 |
)
|
215 |
gr.Markdown(
|
216 |
+
f"""Use this structure for best results: 1girl/1boy, character name, from what series, everything else in any order.""",
|
217 |
elem_id="subtitle",
|
218 |
)
|
|
|
|
|
|
|
|
|
|
|
219 |
with gr.Row():
|
220 |
with gr.Column(scale=2):
|
221 |
with gr.Tab("Txt2img"):
|
config.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
examples = [
|
2 |
-
"1girl,
|
3 |
-
"1boy,
|
4 |
-
"1girl,
|
5 |
-
"1boy,
|
6 |
-
"1girl,
|
7 |
-
"
|
8 |
]
|
9 |
|
10 |
quality_prompt_list = [
|
|
|
1 |
examples = [
|
2 |
+
"1girl, Makima, from Chainsaw Man, red hair, yellow eyes, business suit, confident smile, tie, office background in a chaotic scene",
|
3 |
+
"1boy, Sasuke Uchiha, from Naruto, Sharingan eyes glowing red, Susano'o aura, dark blue clothing, lightning Chidori effects, battle-damaged, serious expression, combat stance",
|
4 |
+
"1girl, Yor Forger, from Spy x Family, black dress, red eyes, long black hair, elegant pose, assassin's daggers, evening backdrop",
|
5 |
+
"1boy, Naruto Uzumaki, from Naruto, Sage Mode activated, orange jumpsuit, multiple shadow clones, Rasengan energy swirling, determined expression, Nine-Tails chakra cloak",
|
6 |
+
"1girl, Marin Kitagawa, from My Dress-Up Darling, blonde hair, pink eyes, school uniform, energetic pose, cosplay accessories",
|
7 |
+
"1boy, Zenitsu Agatsuma, from Demon Slayer, thunder breathing effects, yellow hair, sleeping combat pose, black and orange uniform, lightning sparks, scared expression",
|
8 |
]
|
9 |
|
10 |
quality_prompt_list = [
|
style.css
CHANGED
@@ -19,7 +19,7 @@ h2 {
|
|
19 |
display: block;
|
20 |
margin: 1rem auto;
|
21 |
color: #fff;
|
22 |
-
background: #1565c0
|
23 |
border-radius: 100vh;
|
24 |
padding: 0.5rem 1rem;
|
25 |
}
|
@@ -51,7 +51,7 @@ h2 {
|
|
51 |
}
|
52 |
|
53 |
#title span {
|
54 |
-
background: linear-gradient(45deg, #
|
55 |
background-clip: text;
|
56 |
color: transparent;
|
57 |
}
|
|
|
19 |
display: block;
|
20 |
margin: 1rem auto;
|
21 |
color: #fff;
|
22 |
+
background: #c01515; /* Changed from #1565c0 to a dark red */
|
23 |
border-radius: 100vh;
|
24 |
padding: 0.5rem 1rem;
|
25 |
}
|
|
|
51 |
}
|
52 |
|
53 |
#title span {
|
54 |
+
background: linear-gradient(45deg, #EF4E4E, #b42828); /* Changed from blue/green to red tones */
|
55 |
background-clip: text;
|
56 |
color: transparent;
|
57 |
}
|