RoniFinTech commited on
Commit
af2cfcd
1 Parent(s): 1870c21
routers/intference/stable_diffusion.py CHANGED
@@ -35,14 +35,14 @@ async def generate(prompt: str):
35
  """
36
  generate image
37
  """
38
- print(prompt)
39
  # Define how many steps and what % of steps to be run on each experts (80/20) here
40
  n_steps = 40
41
  high_noise_frac = 0.8
42
  negative = "disfigured, ugly, bad, immature, cartoon, anime, 3d, painting, b&w, sketch, blurry, deformed, bad anatomy, poorly drawn face, mutation, multiple people."
43
 
44
- prompt = f"a model. {prompt}. zoomed in."
45
- # "drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly. bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, disgusting, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blurry, mutated hands and fingers, watermark, watermarked, oversaturated, censored, distorted hands, amputation, missing hands, obese, doubled face, double hands, two women, anime style, cartoon, toon. multiple people."
 
46
  # prompt = "Designs should play with different textures and layering but stick to a monochrome palette. Think leather jackets over mesh tops, or satin draped over matte cotton. in a studio. zoomed-in."
47
 
48
  # run both experts
 
35
  """
36
  generate image
37
  """
 
38
  # Define how many steps and what % of steps to be run on each experts (80/20) here
39
  n_steps = 40
40
  high_noise_frac = 0.8
41
  negative = "disfigured, ugly, bad, immature, cartoon, anime, 3d, painting, b&w, sketch, blurry, deformed, bad anatomy, poorly drawn face, mutation, multiple people."
42
 
43
+ prompt = f"a singular model. {prompt}. zoomed in."
44
+ print(prompt)
45
+ # "drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly. bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, disgusting, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blurry, mutated hands and fingers, watermark, watermarked, oversaturated, censored, distorted hands, amputation, missing hands, obese, doubled face, double hands, two women, anime style, cartoon, toon. multiple people."
46
  # prompt = "Designs should play with different textures and layering but stick to a monochrome palette. Think leather jackets over mesh tops, or satin draped over matte cotton. in a studio. zoomed-in."
47
 
48
  # run both experts