srijaydeshpande commited on
Commit
401d1e2
·
verified ·
1 Parent(s): e44c50c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def run(bucket_folder, person_name, req_id, gender='male'):
73
  else:
74
  prompt = 'Professional LinkedIn-style realistic headshot for man named ' + person_name + ', symmetrical full face and upper body visible including shoulders and chest, centered composition with a small space above the head, wearing a formal suit and white shirt, neutral expression, captured from a short distance, realistic skin texture, exact face preserved, plain white or gray background, sharp focus, studio lighting, high-resolution, suitable for CV or resume'
75
 
76
- neg_prompt = 'Wrong face, wrong face part below nose, wrong facial features, flaws in the eyes, flaws in the face, lowres, artifacts noise, text, deformed, partially rendered objects, deformed or partially rendered eyes, deformed eyeballs, cross-eyed, blurry'
77
  scale = 1.2
78
  n_samples = 20
79
  seed = 0
 
73
  else:
74
  prompt = 'Professional LinkedIn-style realistic headshot for man named ' + person_name + ', symmetrical full face and upper body visible including shoulders and chest, centered composition with a small space above the head, wearing a formal suit and white shirt, neutral expression, captured from a short distance, realistic skin texture, exact face preserved, plain white or gray background, sharp focus, studio lighting, high-resolution, suitable for CV or resume'
75
 
76
+ neg_prompt = 'flaws in the eyes, wide chin, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, glitch, deformed, disfigured, partially rendered objects, deformed or partially rendered eyes'
77
  scale = 1.2
78
  n_samples = 20
79
  seed = 0