Kutches commited on
Commit
498aa65
β€’
1 Parent(s): 092c8f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ app.prepare(ctx_id=0, det_size=(640, 640), det_thresh=0.2)
70
  def generate_images(prompt, img_filepath,
71
  negative_prompt="monochrome, lowres, bad anatomy, worst quality, low quality, blurry",
72
  img_prompt_scale=0.5,
73
- num_inference_steps=30,
74
- seed=None, n_images=1):
75
  print(f'{datetime.now().strftime("%Y/%m/%d %H:%M:%S")}: {prompt}')
76
  image = cv2.imread(img_filepath)
77
  faces = app.get(image)
 
70
  def generate_images(prompt, img_filepath,
71
  negative_prompt="monochrome, lowres, bad anatomy, worst quality, low quality, blurry",
72
  img_prompt_scale=0.5,
73
+ num_inference_steps=40,
74
+ seed=None, n_images=2):
75
  print(f'{datetime.now().strftime("%Y/%m/%d %H:%M:%S")}: {prompt}')
76
  image = cv2.imread(img_filepath)
77
  faces = app.get(image)