KKNTR commited on
Commit
ba6292b
·
verified ·
1 Parent(s): 4b28a58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +49 -82
app.py CHANGED
@@ -44,35 +44,22 @@ scratchpad = {
44
  ],
45
 
46
  "pose": [
47
- "flexing", "muscle flex", "pinup pose", "victory pose", "squatting", "crouching",
48
- "reclining", "lying", "lying on back", "lying on stomach", "lying on side",
49
- "sitting", "sitting cross-legged", "sitting on edge", "leaning", "lounging",
50
- "hands behind head", "hands on hips", "arms crossed", "arms raised", "arms behind back",
51
- "jumping", "running pose", "walking pose", "sprinting", "mid-air pose", "push-up position", "plank position", "yoga pose",
52
- "stretching", "twisting torso", "bending forward", "side bend", "backbend",
53
- "hands in pockets", "hands on knees", "hands on thighs", "arms extended", "arms flexed",
54
- "looking over shoulder", "looking up", "looking down", "looking straight", "gaze at camera",
55
- "hands clasped", "hands together", "resting chin on hand", "leaning on wall",
56
- "casual pose", "relaxed pose", "confident pose", "triumphant pose",
57
- "athletic pose", "dynamic pose", "action pose", "defensive stance",
58
- "martial arts pose", "superhero pose", "dramatic pose",
59
  ],
60
 
61
  "swimwear": [
62
- "swimming trunks", "swimming shorts", "swim briefs", "speedo", "bermuda shorts", "swim thong", "athletic swim shorts", "compression swim shorts",
 
63
  ],
64
 
65
  "headwear": [
66
- "baseball cap", "backwards cap", "snapback", "trucker hat",
67
- "beanie", "knit cap", "watch cap", "skullcap",
68
- "bandana", "headband", "sweatband",
69
- "visor", "bucket hat", "sun hat",
70
- "cowboy hat", "straw hat", "fedora", "trilby",
71
- "flat cap", "newsboy cap", "beret",
72
- "military cap", "officer cap", "camouflage helmet", "combat helmet",
73
- "motorcycle helmet", "bike helmet", "hard hat", "construction helmet",
74
- "hood", "hoodie hood", "cowl",
75
- "crown", "circlet", "horned helmet", "samurai helmet", "viking helmet",
76
  ],
77
 
78
  "setting:private": [
@@ -116,12 +103,9 @@ scratchpad = {
116
  ],
117
 
118
  "accessories": [
119
- "chain necklace", "dog tag necklace", "leather bracelet", "wristband",
120
- "watch", "ring", "earring", "stud earring", "hoop earring",
121
- "septum piercing", "nose ring", "eyebrow piercing", "lip piercing",
122
- "tongue piercing", "fingerless gloves", "leather gloves",
123
- "armband", "bandana", "headband", "sunglasses", "aviator sunglasses", "cap", "beanie", "backwards cap", "finger rings", "spiked bracelet", "spiked collar", "chain belt",
124
- "pendant necklace", "cuff bracelet", "knuckle rings",
125
  ],
126
 
127
  "hairy:face": [
@@ -137,31 +121,23 @@ scratchpad = {
137
  ],
138
 
139
  "body": [
140
- "very skinny",
141
- "lean",
142
- "fit",
143
- "toned",
144
- "athletic",
145
- "muscular",
146
- "broad-shouldered",
147
- "stocky",
148
- "solid",
149
- "heavily muscled",
150
- "chubby",
151
- "big and muscular",
152
- "obese",
153
  ],
154
 
155
  "underwear": [
156
- "boxer briefs", "briefs", "trunks", "boxers", "jockstrap", "thong", "g-string",
157
- "athletic briefs", "sport trunks", "compression shorts",
158
- "open-back jockstrap", "wet look briefs",
159
  ],
160
 
161
- "sex": [
162
- "anvil position", "mating press", "piledriver position", "prison guard position", "chair position", "perching position", "cowgirl position", "doggystyle", "guard position", "leg glider position", "mastery position",
163
- "mermaid position, tabletop", "Spoon Position", "Speed Bump Position", "reverse missionary position", "Reverse Stand and Carry Position", "butler position", "jockey position", "bent spoon position", "bodyguard position", "missionary position", "stand and carry position",
164
- "reverse cowgirl position", "full nelson position", "deck chair position", "amazon position", "ballerina position", "dancer position", "bumper cars position", "arch position",
 
 
 
 
 
165
  ],
166
 
167
  "topwear:under": [
@@ -197,45 +173,36 @@ scratchpad = {
197
  "plaid pants",
198
  ],
199
 
200
- "makingout": [
201
- "making out", "kissing", "necking", "cuddling", "spooning", "hugging",
202
- "back hug", "forehead kiss", "cheek kiss", "nose touch", "hand on waist",
203
- "gentle embrace", "playful flirting", "body contact", "touching face",
204
- "lip bite", "biting lips", "tongue kissing", "passionate kiss",
205
- "holding hands", "caressing", "stroking hair", "nuzzling", "licking lips",
206
- "seductive pose", "intimate embrace", "pressing bodies together", "sensual touch",
207
- ],
208
-
209
  "light": [
210
- "day", "bright", "sunlight", "sunrise", "sunset", "golden hour", "morning light", "afternoon light", "noon light",
211
- "backlight", "rim light", "lens flare", "volumetric light", "god rays", "ray casting light", "neon glow",
212
- "night", "dark", "dim light", "moonlight", "shadow", "silhouette", "starlight", "twilight",
213
- "studio light", "window light", "candle light", "fireplace light", "ambient light", "soft light", "hard light",
214
- "fog", "mist", "haze", "overcast", "diffused light", "dappled light", "reflected light", "spotlight", "floodlight", "colored light",
215
  ],
216
 
217
  "perspective": [
218
- "bird's-eye view", "worm's-eye view", "high-angle view", "low-angle view", "front view", "side view", "back view", "three-quarter view",
219
- "dutch angle", "fisheye lens", "wide-angle lens", "telephoto lens", "macro lens", "close-up", "extreme close-up",
220
- "over-the-shoulder view", "panoramic view", "foreshortening", "tilted perspective", "distorted perspective", "atmospheric perspective",
221
- "isometric view", "top-down view", "bottom-up view", "diagonal view", "tilted camera angle", "dynamic angle", "eye-level view",
222
- "low-key perspective", "high-key perspective", "tilt-shift perspective", "point-of-view", "bird’s eye panorama", "360-degree view",
223
- "overhead shot", "tracking shot", "zoomed-in view", "zoomed-out view",
 
 
224
  ],
225
 
226
  "face": [
227
- "tongue out", "seductive", "bedroom eyes", "looking at viewer",
228
- "looking embarrassed", "blushing", "nervous", "shy", "open mouth",
229
- "grin", "playful", "quirky", "mischievous", "laughing", "happy", "joyful",
230
- "caring", "kind face", "gentle smile", "smirk", "smile",
231
- "surprised", "shocked", "astonished", "confused", "thinking",
232
- "pensive", "curious", "serious", "determined", "focused",
233
- "disappointed", "neutral", "calm", "relaxed", "content", "tired",
234
  ],
235
 
236
  "colour": [
237
- "yellow", "orange", "red", "pink", "purple", "blue", "light blue", "green", "lime", "turquoise", "teal", "mint",
238
- "brown", "beige", "tan", "olive", "khaki", "white", "grey", "black", "navy", "violet", "camouflage", "camo", "burgundy", "ivory", "gold", "silver",
 
 
239
  ],
240
  }
241
 
@@ -317,7 +284,7 @@ def generate(prompt, negative_prompt, width, height, random_res, selected_style)
317
  negative_prompt=negative_prompt,
318
  width=width,
319
  height=height,
320
- num_inference_steps=35,
321
  guidance_scale=7.5
322
  ).images[0]
323
 
@@ -329,10 +296,10 @@ gr.Interface(
329
  gr.Textbox(label="Prompt"),
330
  gr.Textbox(
331
  label="Negative Prompt",
332
- value="(worst quality), (low quality), (blurry), (bad anatomy), (fused fingers), (extra fingers), (missing fingers), (deformed), (jpeg artifacts), (watermark), (signature), text, error, out of frame, bad hands, bad feet, bad proportions, fused limbs, cropped, username, logo, bad perspective, lowres, overexposure, bad artist, bad composition, distorted, oversaturated, mutated, bad shadow, multiple limbs, extra arms, extra legs, bad background, tilted, bad lighting, bad face, ugly, bad eyes, disfigured, multiple pictures"
333
  ),
334
- gr.Slider(minimum=512, maximum=1024, step=64, value=768, label="Width"),
335
- gr.Slider(minimum=512, maximum=1024, step=64, value=768, label="Height"),
336
  gr.Checkbox(label="Random resolution mode (override sliders)", value=True),
337
  ],
338
  outputs=[
 
44
  ],
45
 
46
  "pose": [
47
+ "flexing", "double biceps pose", "side chest pose", "front lat spread pose", "back double biceps pose", "side biceps pose",
48
+ "adonis pose", "arms akimbo", "crossed arms", "hands on hips", "hands behind head", "one hand behind head", "torso twist", "power stance",
49
+ "v-shape", "clenched fists", "palm open", "fist pump", "victory pose", "comic shrug", "superhero pose", "front double biceps pose",
50
+ "front lat spread pose", "side chest pose", "side triceps pose", "rear double biceps pose", "rear lat spread pose",
51
+ "most muscular pose", "abdominal and thigh pose", "hands-on hips pose",
 
 
 
 
 
 
 
52
  ],
53
 
54
  "swimwear": [
55
+ "swimming trunks", "swim shorts", "swim briefs", "speedo", "boxer swim shorts", "bermuda swim shorts", "swimming thong",
56
+ "swim g-string", "board shorts", "jammers", "tight swim shorts", "loose swim shorts", "short swim trunks",
57
  ],
58
 
59
  "headwear": [
60
+ "baseball cap", "backwards headwear", "backwards baseball cap", "snapback cap", "backwards snapback cap", "trucker hat", "backwards trucker hat",
61
+ "fitted cap", "beanie hat", "headband",
62
+ "bandana", "visor", "bucket hat", "military cap",
 
 
 
 
 
 
 
63
  ],
64
 
65
  "setting:private": [
 
103
  ],
104
 
105
  "accessories": [
106
+ "earrings", "stud earrings", "diamond stud earrings", "hoop earrings", "small hoop earrings", "septum piercing", "eyebrow piercing",
107
+ "chain necklace", "beaded necklace", "pendant necklace", "sunglasses", "aviator sunglasses", "wayfarer sunglasses", "sports sunglasses",
108
+ "headphones", "earphones",
 
 
 
109
  ],
110
 
111
  "hairy:face": [
 
121
  ],
122
 
123
  "body": [
124
+ "very skinny", "lean", "fit", "toned", "athletic", "muscular", "broad-shouldered", "stocky", "solid", "heavily muscled", "chubby", "big and muscular", "obese",
 
 
 
 
 
 
 
 
 
 
 
 
125
  ],
126
 
127
  "underwear": [
128
+ "boxer briefs", "briefs", "boxers", "trunks", "thong", "g-string", "string thong", "jockstrap", "low-rise briefs", "mid-rise briefs",
129
+ "high-rise briefs", "athletic briefs",
 
130
  ],
131
 
132
+ "sex:anal": [
133
+ "mating press", "chair position", "cowgirl position", "doggystyle", "leg glider position", "mastery position",
134
+ "Spoon Position", "reverse missionary position", "missionary position", "reverse cowgirl position",
135
+ "anvil Position", "guard Position", "stand and carry Position", "table lotus position"
136
+ ],
137
+
138
+ "sex:oral": [
139
+ "69 position", "kneeling oral position", "sideways oral", "penis lick", "tongue in foreskin", "deepthroath", "tongue out blowjob", "irrumatio",
140
+ "ball lick", "kneeling and blow position", "lying and blow position", "north pole position", "sit and blow position",
141
  ],
142
 
143
  "topwear:under": [
 
173
  "plaid pants",
174
  ],
175
 
 
 
 
 
 
 
 
 
 
176
  "light": [
177
+ "daylight", "bright light", "soft light", "dim light", "night", "ambient light", "diffuse light", "even lighting", "natural light", "low light",
178
+ "dappled light", "soft shadows", "subtle highlights", "warm light", "cool light" "dusty light", "hazy light", "soft glow", "subtle lens flare",
179
+ "misty light", "warm haze", "cool haze",
 
 
180
  ],
181
 
182
  "perspective": [
183
+ "front view", "side view", "three-quarter view", "top-down view", "worm's-eye view", "high-angle view", "low-angle view",
184
+ "overhead view", "diagonal view", "isometric view", "dutch angle", "fisheye perspective", "foreshortening",
185
+ ],
186
+
187
+ "effect": [
188
+ "soft focus", "slight blur", "bokeh", "grainy texture", "film grain", "vignette", "subtle glow", "soft haze", "hazy atmosphere",
189
+ "light diffusion", "slight overexposure", "subtle underexposure", "warm tint", "cool tint", "muted colors", "slightly desaturated",
190
+ "painterly effect", "sketch effect", "cartoonish style", "comic style"
191
  ],
192
 
193
  "face": [
194
+ "flirty", "seductive", "playful flirt", "teasing look", "sultry gaze", "wink flirt", "one eye closed", "smoldering look", "cheeky flirt", "suggestive grin",
195
+ "mischievous smirk", "playful smirk", "tongue out flirty", "open mouth flirt", "eye contact flirt", "raised eyebrow flirt", "smiling", "grinning", "laughing", "happy",
196
+ "joyful", "playful", "quirky", "cheerful", "friendly smile", "tongue out", "winking", "raised eyebrows", "blushing", "embarrassed", "shy", "bashful", "surprised",
197
+ "curious", "amused", "satisfied smile", "soft smile", "teasing smile", "cheeky grin", "slight smirk", "mischievous grin", "open mouth smile", "excited", "delighted",
198
+ "flirty", "seductive", "playful flirt", "teasing look", "sultry gaze", "wink flirt",
 
 
199
  ],
200
 
201
  "colour": [
202
+ "red", "scarlet", "crimson", "pink", "magenta", "fuchsia", "orange", "tangerine", "yellow", "bright yellow", "lemon yellow color", "gold color", "green", "lime green color",
203
+ "emerald", "olive", "teal", "turquoise", "cyan", "blue", "sky blue", "royal blue", "navy blue", "indigo", "purple", "violet", "lavender", "lilac", "brown", "tan",
204
+ "beige", "bronze", "maroon", "burgundy", "white", "ivory", "black", "grey", "dark-grey", "light-grey", "silver", "reflecting chrome", "copper", "mint", "jade",
205
+ "peach color", "camo", "camouflage", "red-violet", "blue-green", "turquoise-blue", "yellow-orange", "pink-purple", "mustard color",
206
  ],
207
  }
208
 
 
284
  negative_prompt=negative_prompt,
285
  width=width,
286
  height=height,
287
+ num_inference_steps=50,
288
  guidance_scale=7.5
289
  ).images[0]
290
 
 
296
  gr.Textbox(label="Prompt"),
297
  gr.Textbox(
298
  label="Negative Prompt",
299
+ value="(worst quality), (low quality), (blurry), (bad anatomy), (fused fingers), (extra fingers), (missing fingers), (deformed), (jpeg artifacts), (watermark), (signature), text, error, out of frame, bad hands, bad feet, bad proportions, fused limbs, cropped, username, logo, bad perspective, lowres, bad artist, bad composition, distorted, mutated, bad shadow, multiple limbs, extra arms, extra legs, bad background, tilted, bad lighting, bad face, ugly, bad eyes, disfigured, multiple pictures"
300
  ),
301
+ gr.Slider(minimum=512, maximum=1920, step=64, value=768, label="Width"),
302
+ gr.Slider(minimum=512, maximum=1920, step=64, value=768, label="Height"),
303
  gr.Checkbox(label="Random resolution mode (override sliders)", value=True),
304
  ],
305
  outputs=[