NikhilJoson commited on
Commit
82e3515
·
verified ·
1 Parent(s): bf4215a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def generate_image(category, img1, img2, img3, height, width, img_guidance_scale
60
  text = f"""A {category} wearing {dress}, with a completely white background. The {category} is <img><|image_1|></img>. The {dress} is in <img><|image_2|></img>."""
61
  elif len(wears)==2:
62
  topwear, bottomwear = wears[0], wears[1]
63
- text = f"""A {category} wearing {topwear} and {bottomwear}, with a completely white background. The {category} is <img><|image_1|></img>. The {topwear} is in <img><|image_2|></img>. The {bottomwear} is in <img><|image_3|></img>.""
64
  else:
65
  input_images = None
66
 
 
60
  text = f"""A {category} wearing {dress}, with a completely white background. The {category} is <img><|image_1|></img>. The {dress} is in <img><|image_2|></img>."""
61
  elif len(wears)==2:
62
  topwear, bottomwear = wears[0], wears[1]
63
+ text = f"""A {category} wearing {topwear} and {bottomwear}, with a completely white background. The {category} is <img><|image_1|></img>. The {topwear} is in <img><|image_2|></img>. The {bottomwear} is in <img><|image_3|></img>."""
64
  else:
65
  input_images = None
66