Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = '
|
| 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
|