hsuwill000 commited on
Commit
f652348
·
verified ·
1 Parent(s): 23798e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,14 +55,14 @@ pipe.compile()
55
  prompt = ""
56
  negative_prompt = "Easy Negative, worst quality, low quality, normal quality, lowers, monochrome, grayscales, skin spots, acnes, skin blemishes, age spot, 6 more fingers on one hand, deformity, bad legs, error legs, bad feet, malformed limbs, extra limbs, ugly, poorly drawn hands, poorly drawn feet, poorly drawn face, text, mutilated, extra fingers, mutated hands, mutation, bad anatomy, cloned face, disfigured, fused fingers"
57
 
58
- def infer(prompt, negative_prompt, num_inference_steps=1):
59
  image = pipe(
60
  prompt=prompt,
61
  negative_prompt=negative_prompt,
62
  width=WIDTH,
63
  height=HIGH,
64
  guidance_scale=7.5,
65
- num_inference_steps=num_inference_steps,
66
  num_images_per_prompt=1,
67
  ).images[0]
68
 
 
55
  prompt = ""
56
  negative_prompt = "Easy Negative, worst quality, low quality, normal quality, lowers, monochrome, grayscales, skin spots, acnes, skin blemishes, age spot, 6 more fingers on one hand, deformity, bad legs, error legs, bad feet, malformed limbs, extra limbs, ugly, poorly drawn hands, poorly drawn feet, poorly drawn face, text, mutilated, extra fingers, mutated hands, mutation, bad anatomy, cloned face, disfigured, fused fingers"
57
 
58
+ def infer(prompt, negative_prompt):
59
  image = pipe(
60
  prompt=prompt,
61
  negative_prompt=negative_prompt,
62
  width=WIDTH,
63
  height=HIGH,
64
  guidance_scale=7.5,
65
+ num_inference_steps=1,
66
  num_images_per_prompt=1,
67
  ).images[0]
68