Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
51 |
-
prompt = prompt_structure + prompt_user
|
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)
|