Bavisetti commited on
Commit
e84961b
·
verified ·
1 Parent(s): a229981
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -49,7 +49,9 @@ def generate_headshot(image):
49
  if isinstance(image, np.ndarray):
50
  image = Image.fromarray(image)
51
 
52
- prompt = "A professional corporate headshot, studio lighting, high resolution, DSLR quality"
 
 
53
 
54
  # Generate image (Lower strength for subtle changes)
55
  generated_image = pipe(prompt=prompt, image=image, strength=0.5).images[0]
 
49
  if isinstance(image, np.ndarray):
50
  image = Image.fromarray(image)
51
 
52
+ prompt = "Ultra-realistic professional headshot, studio lighting, 4K resolution, "
53
+ "sharp details, DSLR quality, corporate portrait, neutral background, "
54
+ "perfect skin texture, cinematic lighting"
55
 
56
  # Generate image (Lower strength for subtle changes)
57
  generated_image = pipe(prompt=prompt, image=image, strength=0.5).images[0]