TheAwakenOne commited on
Commit
a72fdf9
·
1 Parent(s): 76b0dfc

Updated style.css README.md app.py and added my own prompts to the config.py

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. app.py +1 -6
  3. config.py +6 -6
  4. style.css +2 -2
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: The most opinionated, anime-themed SDXL model
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"""Gradio demo for [cagliostrolab/animagine-xl-3.1](https://huggingface.co/cagliostrolab/animagine-xl-3.1)""",
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, souryuu asuka langley, neon genesis evangelion, plugsuit, pilot suit, red bodysuit, sitting, crossing legs, black eye patch, cat hat, throne, symmetrical, looking down, from bottom, looking at viewer, outdoors",
3
- "1boy, male focus, yuuki makoto \(persona 3\), persona 3, black jacket, white shirt, long sleeves, closed mouth, glowing eyes, gun, hair over one eye, holding gun, handgun, looking at viewer, solo, upper body",
4
- "1girl, makima \(chainsaw man\), chainsaw man, black jacket, black necktie, black pants, braid, business suit, fingernails, formal, hand on own chin, jacket on shoulders, light smile, long sleeves, looking at viewer, looking up, medium breasts, office lady, smile, solo, suit, upper body, white shirt, outdoors",
5
- "1boy, male focus, gojou satoru, jujutsu kaisen, black jacket, blindfold lift, blue eyes, glowing, glowing eyes, high collar, jacket, jujutsu tech uniform, solo, grin, white hair",
6
- "1girl, cagliostro, granblue fantasy, violet eyes, standing, hand on own chin, looking at object, smile, closed mouth, table, beaker, glass tube, experiment apparatus, dark room, laboratory",
7
- "kimi no na wa., building, cityscape, cloud, cloudy sky, gradient sky, lens flare, no humans, outdoors, power lines, scenery, shooting star, sky, sparkle, star \(sky\), starry sky, sunset, tree, utility pole",
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, #4EACEF, #28b485);
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
  }