NikhilJoson commited on
Commit
15d8b55
·
verified ·
1 Parent(s): e71e984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def generate_image(category, img1, img2, img3, height, width, img_guidance_scale
67
  text = f"""<img><|image_1|></img> Replace the {category}'s clothes with {dress} in <img><|image_2|></img>."""
68
  elif len(wears)==2:
69
  topwear, bottomwear = wears[0], wears[1]
70
- text = f"""<img><|image_1|></img> Replace the {category}'s top with {topwear} in <img><|image_2|></img> and the {category}'s bottoms with {bottomwear} in <img><|image_3|></img>."""
71
  else:
72
  input_images = None
73
 
 
67
  text = f"""<img><|image_1|></img> Replace the {category}'s clothes with {dress} in <img><|image_2|></img>."""
68
  elif len(wears)==2:
69
  topwear, bottomwear = wears[0], wears[1]
70
+ text = f"""<img><|image_1|></img> Replace the {category}'s top-wear with {topwear} in <img><|image_2|></img> and the {category}'s bottom-wear with {bottomwear} in <img><|image_3|></img>."""
71
  else:
72
  input_images = None
73