Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,8 +33,7 @@ MAX_IMAGE_SIZE = 1024
|
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
-
negative_prompt1= """
|
| 37 |
-
worst quality, normal quality, low quality, low res, blurry, distortion, text, watermark,
|
| 38 |
logo, banner, extra digits, cropped, jpeg artifacts, signature, username, error, sketch, duplicate, ugly,
|
| 39 |
monochrome, horror, geometry, mutation, disgusting, bad anatomy, bad proportions, bad quality, deformed,
|
| 40 |
disconnected limbs, out of frame, out of focus, dehydrated, disfigured, extra arms, extra limbs, extra hands,
|
|
@@ -86,7 +85,7 @@ def infer(
|
|
| 86 |
|
| 87 |
image = pipe(
|
| 88 |
prompt=prompt,
|
| 89 |
-
negative_prompt=
|
| 90 |
guidance_scale=guidance_scale,
|
| 91 |
num_inference_steps=num_inference_steps,
|
| 92 |
width=width,
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
+
negative_prompt1= """normal quality, low quality, low res, blurry, distortion, text, watermark,
|
|
|
|
| 37 |
logo, banner, extra digits, cropped, jpeg artifacts, signature, username, error, sketch, duplicate, ugly,
|
| 38 |
monochrome, horror, geometry, mutation, disgusting, bad anatomy, bad proportions, bad quality, deformed,
|
| 39 |
disconnected limbs, out of frame, out of focus, dehydrated, disfigured, extra arms, extra limbs, extra hands,
|
|
|
|
| 85 |
|
| 86 |
image = pipe(
|
| 87 |
prompt=prompt,
|
| 88 |
+
negative_prompt=negative_prompt1,
|
| 89 |
guidance_scale=guidance_scale,
|
| 90 |
num_inference_steps=num_inference_steps,
|
| 91 |
width=width,
|