Vijish commited on
Commit
d150b57
Β·
verified Β·
1 Parent(s): 8451447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +85 -52
app.py CHANGED
@@ -52,66 +52,99 @@ controlnet_model_shared = ControlNetModel.from_pretrained(
52
  # Define the prompts and negative prompts for each style
53
  styles = {
54
  "Anime Studio Dance": {
55
- "prompt": ("anime screencap of a man wearing a white helmet with pointed ears,\n"
56
- "Outfit: closed animal print shirt,\n"
57
- "Action: anime style, looking at viewer, solo, upper body,\n"
58
- "((masterpiece)), (best quality), (extremely detailed), depth of field, sketch, "
59
- "dark intense shadows, sharp focus, soft lighting, hdr, colorful, good composition, spectacular,"),
60
- "negative_prompt": ("realistic, (painting by bad-artist-anime:0.9), (painting by bad-artist:0.9), watermark, "
61
- "text, error, blurry, jpeg artifacts, cropped, worst quality, low quality, normal quality, "
62
- "jpeg artifacts, signature, watermark, username, artist name, (worst quality, low quality:1.4), "
63
- "bad anatomy, watermark, signature, text, logo")
 
 
 
 
 
 
 
64
  },
65
  "Vintage Realistic": {
66
- "prompt": ("a masterpiece close up shoot photography of an man wearing a animal print helmet with pointed ears,\n"
67
- "Outfit: wearing an big oversized outfit, white leather jacket,\n"
68
- "Action: sitting on steps,\n"
69
- "hyper realistic with detailed textures, cinematic film still of Photorealism, realistic skin texture, "
70
- "subsurface scattering, skinny, Photorealism, often for highly detailed representation, photographic accuracy, "
71
- "shallow depth of field, vignette, highly detailed, bokeh, epic, gorgeous, sharp, perfect hands,\n"
72
- "<lora:add-detail-xl:1> <lora:Vintage_Street_Photo:0.9>"),
73
- "negative_prompt": ("deformed skin, skin veins, black skin, blurry, text, yellow, deformed, (worst quality, low resolution, "
74
- "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d render, "
75
- "distorted, twisted, watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, "
76
- "glitch, deformed, mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, "
77
- "(high contrast:1.2), (over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, "
78
- "ugly, tiling, poorly drawn hands, 3d render, impressionism, digital art")
 
 
 
 
 
 
 
79
  },
80
  "Anime 90's Aesthetic": {
81
- "prompt": ("an man wearing a white helmet with pointed ears, perfect chin,\n"
82
- "Outfit: wearing oversized hoodie, animal print pants,\n"
83
- "Action: dancing in nature, music production, music instruments made of wood,\n"
84
- "A screengrab of an anime, 90's aesthetic,"),
85
- "negative_prompt": ("photo, real, realistic, blurry, text, yellow, deformed, (worst quality, low resolution, bad hands,), "
86
- "text, watermark, artist name, distorted, twisted, watermark, 3d render, distorted, twisted, watermark, "
87
- "text, abstract, glitch, deformed, mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, "
88
- "canvas frame, (high contrast:1.2), (over saturated:1.2), (glossy:1.1), disfigured, Photoshop, video game, "
89
- "ugly, tiling, poorly drawn hands, 3d render, impressionism, eyes, mouth, black skin, pale skin, hair, beard")
 
 
 
 
 
 
 
90
  },
91
  "Anime Style": {
92
- "prompt": ("An man wearing a white helmet with pointed ears sitting on the steps of an Asian street shop,\n"
93
- "Outfit: wearing blue pants and a yellow jacket with a red backpack, in the anime style with detailed "
94
- "character design in the style of Atey Ghailan, featured in CGSociety, character concept art in the style of Katsuhiro Otomo"),
95
- "negative_prompt": ("real, deformed fingers, chin, deformed hands, blurry, text, yellow, deformed, (worst quality, low resolution, "
96
- "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d, distorted, twisted, "
97
- "watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, "
98
- "ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, (high contrast:1.2), "
99
- "(over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, ugly, tiling, "
100
- "poorly drawn hands, 3d render, impressionism, digital art")
 
 
 
 
 
101
  },
102
  "Real 70s": {
103
- "prompt": ("a masterpiece close up shoot photography of an man wearing a white helmet with pointed ears,\n"
104
- "Outfit: wearing an oversized trippy 70s shirt and scarf,\n"
105
- "Action: standing on the ocean,\n"
106
- "shot in the style of Erwin Olaf, hyper realistic with detailed textures, cinematic film still of Photorealism, "
107
- "realistic skin texture, subsurface scattering, skinny, Photorealism, often for highly detailed representation, "
108
- "photographic accuracy, shallow depth of field, vignette, highly detailed, bokeh, epic, gorgeous, sharp,"),
109
- "negative_prompt": ("deformed skin, skin veins, black skin, blurry, text, yellow, deformed, (worst quality, low resolution, "
110
- "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d render, distorted, "
111
- "twisted, watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, "
112
- "mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, (high contrast:1.2), "
113
- "(over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, ugly, tiling, "
114
- "poorly drawn hands, 3d render, impressionism, digital art")
 
 
 
 
 
 
 
115
  }
116
  }
117
 
 
52
  # Define the prompts and negative prompts for each style
53
  styles = {
54
  "Anime Studio Dance": {
55
+ "prompt": (
56
+ "anime screencap of a man wearing a white helmet with pointed ears,\n"
57
+ "\n"
58
+ "closed animal print shirt,\n"
59
+ "\n"
60
+ "anime style, looking at viewer, solo, upper body,\n"
61
+ "\n"
62
+ "((masterpiece)), (best quality), (extremely detailed), depth of field, sketch, "
63
+ "dark intense shadows, sharp focus, soft lighting, hdr, colorful, good composition, spectacular,"
64
+ ),
65
+ "negative_prompt": (
66
+ "realistic, (painting by bad-artist-anime:0.9), (painting by bad-artist:0.9), watermark, "
67
+ "text, error, blurry, jpeg artifacts, cropped, worst quality, low quality, normal quality, "
68
+ "jpeg artifacts, signature, watermark, username, artist name, (worst quality, low quality:1.4), "
69
+ "bad anatomy, watermark, signature, text, logo"
70
+ )
71
  },
72
  "Vintage Realistic": {
73
+ "prompt": (
74
+ "a masterpiece close up shoot photography of an man wearing a animal print helmet with pointed ears,\n"
75
+ "\n"
76
+ "wearing an big oversized outfit, white leather jacket,\n"
77
+ "\n"
78
+ "sitting on steps,\n"
79
+ "\n"
80
+ "hyper realistic with detailed textures, cinematic film still of Photorealism, realistic skin texture, "
81
+ "subsurface scattering, skinny, Photorealism, often for highly detailed representation, photographic accuracy, "
82
+ "shallow depth of field, vignette, highly detailed, bokeh, epic, gorgeous, sharp, perfect hands,\n"
83
+ "<lora:add-detail-xl:1> <lora:Vintage_Street_Photo:0.9>"
84
+ ),
85
+ "negative_prompt": (
86
+ "deformed skin, skin veins, black skin, blurry, text, yellow, deformed, (worst quality, low resolution, "
87
+ "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d render, "
88
+ "distorted, twisted, watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, "
89
+ "glitch, deformed, mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, "
90
+ "(high contrast:1.2), (over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, "
91
+ "ugly, tiling, poorly drawn hands, 3d render, impressionism, digital art"
92
+ )
93
  },
94
  "Anime 90's Aesthetic": {
95
+ "prompt": (
96
+ "an man wearing a white helmet with pointed ears, perfect chin,\n"
97
+ "\n"
98
+ "wearing oversized hoodie, animal print pants,\n"
99
+ "\n"
100
+ "dancing in nature, music production, music instruments made of wood,\n"
101
+ "\n"
102
+ "A screengrab of an anime, 90's aesthetic,"
103
+ ),
104
+ "negative_prompt": (
105
+ "photo, real, realistic, blurry, text, yellow, deformed, (worst quality, low resolution, bad hands,), "
106
+ "text, watermark, artist name, distorted, twisted, watermark, 3d render, distorted, twisted, watermark, "
107
+ "text, abstract, glitch, deformed, mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, "
108
+ "canvas frame, (high contrast:1.2), (over saturated:1.2), (glossy:1.1), disfigured, Photoshop, video game, "
109
+ "ugly, tiling, poorly drawn hands, 3d render, impressionism, eyes, mouth, black skin, pale skin, hair, beard"
110
+ )
111
  },
112
  "Anime Style": {
113
+ "prompt": (
114
+ "An man wearing a white helmet with pointed ears sitting on the steps of an Asian street shop,\n"
115
+ "\n"
116
+ "wearing blue pants and a yellow jacket with a red backpack, in the anime style with detailed "
117
+ "character design in the style of Atey Ghailan, featured in CGSociety, character concept art in the style of Katsuhiro Otomo"
118
+ ),
119
+ "negative_prompt": (
120
+ "real, deformed fingers, chin, deformed hands, blurry, text, yellow, deformed, (worst quality, low resolution, "
121
+ "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d, distorted, twisted, "
122
+ "watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, "
123
+ "ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, (high contrast:1.2), "
124
+ "(over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, ugly, tiling, "
125
+ "poorly drawn hands, 3d render, impressionism, digital art"
126
+ )
127
  },
128
  "Real 70s": {
129
+ "prompt": (
130
+ "a masterpiece close up shoot photography of an man wearing a white helmet with pointed ears,\n"
131
+ "\n"
132
+ "wearing an oversized trippy 70s shirt and scarf,\n"
133
+ "\n"
134
+ "standing on the ocean,\n"
135
+ "\n"
136
+ "shot in the style of Erwin Olaf, hyper realistic with detailed textures, cinematic film still of Photorealism, "
137
+ "realistic skin texture, subsurface scattering, skinny, Photorealism, often for highly detailed representation, "
138
+ "photographic accuracy, shallow depth of field, vignette, highly detailed, bokeh, epic, gorgeous, sharp,"
139
+ ),
140
+ "negative_prompt": (
141
+ "deformed skin, skin veins, black skin, blurry, text, yellow, deformed, (worst quality, low resolution, "
142
+ "bad hands, open mouth), text, watermark, artist name, distorted, twisted, watermark, 3d render, distorted, "
143
+ "twisted, watermark, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, "
144
+ "mutated, ugly, disfigured, photoshopped skin, airbrushed skin, glossy skin, canvas frame, (high contrast:1.2), "
145
+ "(over saturated:1.2), (glossy:1.1), cartoon, 3d, disfigured, Photoshop, video game, ugly, tiling, "
146
+ "poorly drawn hands, 3d render, impressionism, digital art"
147
+ )
148
  }
149
  }
150