Spaces:
Runtime error
Runtime error
RoniFinTech
commited on
Commit
•
1870c21
1
Parent(s):
4598c6c
structure
Browse files
routers/intference/stable_diffusion.py
CHANGED
@@ -40,8 +40,10 @@ async def generate(prompt: str):
|
|
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 |
# "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."
|
44 |
-
# 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.
|
45 |
|
46 |
# run both experts
|
47 |
image = base(
|
|
|
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
|
49 |
image = base(
|