multimodalart HF staff commited on
Commit
913fdfc
·
verified ·
1 Parent(s): 59b8a09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ mask = Image.open("mask_square.png")
47
 
48
  @spaces.GPU
49
  def generate(image, prompt_user, progress=gr.Progress(track_tqdm=True)):
50
- prompt_structure = "The two-panel image showcases the logo of a brand, [LEFT] the left panel is showing the logo [RIGHT] the right panel has this logo applied to "
51
- prompt = prompt_structure + prompt_user + "with the logo"
52
 
53
  cropped_image = square_center_crop(image)
54
  logo_dupli = duplicate_horizontally(cropped_image)
 
47
 
48
  @spaces.GPU
49
  def generate(image, prompt_user, progress=gr.Progress(track_tqdm=True)):
50
+ prompt_structure = "The two-panel image showcases the logo on the left and the application on the right, [LEFT] the left panel is showing the plain logo [RIGHT] this logo is applied to "
51
+ prompt = prompt_structure + prompt_user
52
 
53
  cropped_image = square_center_crop(image)
54
  logo_dupli = duplicate_horizontally(cropped_image)