Spaces:
Runtime error
Runtime error
RoniFinTech
commited on
Commit
•
e9b7ae9
1
Parent(s):
291b6bb
structure
Browse files
routers/intference/stable_diffusion.py
CHANGED
@@ -38,7 +38,7 @@ async def generate(prompt: str):
|
|
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 = "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."
|
42 |
# 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. single model."
|
43 |
|
44 |
# run both experts
|
|
|
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 = "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."
|
42 |
# 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. single model."
|
43 |
|
44 |
# run both experts
|