DiffusionArtco commited on
Commit
24723da
·
1 Parent(s): f1d691e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import base64
6
 
7
  api_url = "https://5cb20b40-572c-426f-9466-995256f9b6eb.id.repl.co/generate_image"
8
 
9
- def generate_image(model="Deliberate", prompt="", seed=0, negative_prompt="", sampler="k_dpmpp_2s_a", steps=50):
10
  data = "?model=" + model + "&prompt=" + prompt + "&seed=" + str(seed) + "&negative_prompt=" + negative_prompt + "&sampler=" + sampler + "&steps=" + str(steps)
11
  response = requests.post(api_url + data, timeout=400)
12
  if response.status_code == 200:
 
6
 
7
  api_url = "https://5cb20b40-572c-426f-9466-995256f9b6eb.id.repl.co/generate_image"
8
 
9
+ def generate_image(model="Deliberate", prompt=", Trending on artstation, Trending on MidJourney, Award Winning, Timeless art work, Masterpiece, Genius, Worldclass, Extra ordinary, Aesthetic, Beautiful, Stunning, Brilliant, cinematic, Dynamic, Cinematic lighting, inspirational, 4K resolution, 8K resolution, Artstation HD, Artstation HQ, Vivid, Vibrant, Ultra detailed, Octane render, dramatic, Iconic, Impeccable, Majestic, Ingenious, Visionary, Revolutionary, Exceptional, Exemplary, Unsurpassed, Viral, Popular, Buzzworthy, Up-and-coming, Emerging, Promising, Acclaimed, Celebrated, Distinguished, Classic, Enduring, Everlasting, Extraordinary, Phenomenal, Remarkable, Aesthetic, Stylish, Artistic, Sophisticated, Beautiful, Gorgeous, Exquisite, Breathtaking, Striking, Splendid, Dazzling, Radiant, Epic, Theatrical, Energetic, Thrilling, Exciting, Atmospheric, Evocative, Enchanting, Motivating, Empowering, Uplifting, High-definition, Crisp, Sharp, Ultra high-definition, Crystal clear, Flawless, High-quality, Premium, Deluxe, High-resolution, Top-notch, Elite, Bright, Lively, Colorful, Intricate, Meticulous, Elaborate, Realistic, High-performance, Intense, Gripping, Compelling (((Perfect face))), (((Perfect symmetrical Body anatomy))), (((Perfect Fingers))).", seed=0, negative_prompt="Deformed arm, missing arm, low resolution, low quality, twisted, unappealing, uneven, unprofessional, draft, fake face, fake, uneven body, unnatural face, plastic face, out of focus, out of frame, poorly drawn, crippled, crooked, broken, weird, distorted, erased, cut, mutilated, sloppy, ugly, pixelated, bad hands, aliasing, overexposed, oversaturated, burnt image, fuzzy, poor quality, sleepy, closed-eyes, bad anatomy, hideous, deformed, mutant, poorly detailed, smudged, sketch, pencil, doll, plastic, disfigured, close-up, topless, nude, naked, cleavage, breasts, belly, disproportionate bodies, two heads, deformed fingers, elongated body, two faces, cropped image, deformed hands, deformed legs, deformed face, twisted fingers, double image, long neck, extra limb, poorly drawn hands, missing limb, grainy, blurry, poorly drawn face, mutation, disconnected limbs, long body, disgusting, mangled, extra fingers, gross proportions, missing arms, mutated hands, mutilated hands, cloned face, missing legs, cut-off, kitsch, text, logo, wordmark, writing, heading, signature, watermark, toy, sculpture, tiling, crossed eyes, extra limbs, body out of frame, blurred, cut off, duplicate, distortion of proportions, anatomy, copy, multi, grain, low-res, mutated, floating limbs, malformed hands, blur, old, heterochromia, dots, bad quality, weapons, scary, creepy, evil, missing limbs, gross, missing fingers.", sampler="k_dpmpp_2s_a", steps=50):
10
  data = "?model=" + model + "&prompt=" + prompt + "&seed=" + str(seed) + "&negative_prompt=" + negative_prompt + "&sampler=" + sampler + "&steps=" + str(steps)
11
  response = requests.post(api_url + data, timeout=400)
12
  if response.status_code == 200: