linoyts HF Staff commited on
Commit
bdb28a5
·
verified ·
1 Parent(s): 5a641ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
28
  seed = random.randint(0, MAX_SEED)
29
 
30
  input_image = input_image.convert("RGB")
31
- prompt_with_template = f"hange the lighting conditions in this image and add {prompt}. Lighting determines how bright or dark different parts of the image appear, where shadows fall, and how colors look. When you relight an image, you're simulating what the photo would look like if it were taken under different lighting conditions."
32
 
33
  image = pipe(
34
  image=input_image,
 
28
  seed = random.randint(0, MAX_SEED)
29
 
30
  input_image = input_image.convert("RGB")
31
+ prompt_with_template = f"hange the lighting conditions in this image and add {prompt}. change the background details but maintain the forground. Lighting determines how bright or dark different parts of the image appear, where shadows fall, and how colors look. When you relight an image, you're simulating what the photo would look like if it were taken under different lighting conditions."
32
 
33
  image = pipe(
34
  image=input_image,