Owen777 commited on
Commit
0a81218
1 Parent(s): aff6911

Update inference.py

Browse files
Files changed (1) hide show
  1. 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 = 48
30
  CFG = 9
31
  resolution = 1024
32
- negative_prompts = "worst quality, normal quality, low quality, low res, blurry, distortion, text, watermark, logo, banner, extra digits, cropped, jpeg artifacts, signature, username, error, sketch, duplicate, ugly, monochrome, horror, geometry, mutation, disgusting, bad anatomy, bad proportions, bad quality, deformed, disconnected limbs, out of frame, out of focus, dehydrated, disfigured, extra arms, extra limbs, extra hands, fused fingers, gross proportions, long neck, jpeg, malformed limbs, mutated, mutated hands, mutated limbs, missing arms, missing fingers, picture frame, poorly drawn hands, poorly drawn face, collage, pixel, pixelated, grainy, color aberration, amputee, autograph, bad illustration, beyond the borders, blank background, body out of frame, boring background, branding, cut off, dismembered, disproportioned, distorted, draft, duplicated features, extra fingers, extra legs, fault, flaw, grains, hazy, identifying mark, improper scale, incorrect physiology, incorrect ratio, indistinct, kitsch, low resolution"
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.