Update inference.py
Browse files- inference.py +2 -3
inference.py
CHANGED
|
@@ -26,11 +26,10 @@ pipe=Pipeline(vq_model, tokenizer=tokenizer,text_encoder=text_encoder,transforme
|
|
| 26 |
|
| 27 |
pipe = pipe.to(device)
|
| 28 |
|
| 29 |
-
steps =
|
| 30 |
CFG = 9
|
| 31 |
resolution = 1024
|
| 32 |
-
negative_prompts = "worst quality,
|
| 33 |
-
|
| 34 |
|
| 35 |
# A racoon wearing a suit smoking a cigar in the style of James Gurney.
|
| 36 |
# Medieval painting of a rat king.
|
|
|
|
| 26 |
|
| 27 |
pipe = pipe.to(device)
|
| 28 |
|
| 29 |
+
steps = 64
|
| 30 |
CFG = 9
|
| 31 |
resolution = 1024
|
| 32 |
+
negative_prompts = "worst quality, low quality, low res, blurry, distortion, watermark, logo, signature, text, jpeg artifacts, signature, sketch, duplicate, ugly, identifying mark"
|
|
|
|
| 33 |
|
| 34 |
# A racoon wearing a suit smoking a cigar in the style of James Gurney.
|
| 35 |
# Medieval painting of a rat king.
|