Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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": (
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
},
|
65 |
"Vintage Realistic": {
|
66 |
-
"prompt": (
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
},
|
80 |
"Anime 90's Aesthetic": {
|
81 |
-
"prompt": (
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
},
|
91 |
"Anime Style": {
|
92 |
-
"prompt": (
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
101 |
},
|
102 |
"Real 70s": {
|
103 |
-
"prompt": (
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|