Spaces:
Paused
Paused
Commit
•
f473132
1
Parent(s):
b099263
Update app.py
Browse files
app.py
CHANGED
@@ -39,9 +39,9 @@ def predict(_prompt: str, _steps: int = 30, _seed: int = 42, _guidance_scale: fl
|
|
39 |
|
40 |
original_image_height = output_image.size[1]
|
41 |
output_image = ImageOps.expand(output_image, border=(0, 0, 0, 64), fill='white')
|
42 |
-
deci_logo = Image.open('
|
43 |
output_image.paste(deci_logo, (0, original_image_height))
|
44 |
-
Draw(output_image).text((deci_logo.size[0], original_image_height), _prompt, (127, 127, 127))
|
45 |
return output_image
|
46 |
|
47 |
|
|
|
39 |
|
40 |
original_image_height = output_image.size[1]
|
41 |
output_image = ImageOps.expand(output_image, border=(0, 0, 0, 64), fill='white')
|
42 |
+
deci_logo = Image.open('./deci_logo_white.png')
|
43 |
output_image.paste(deci_logo, (0, original_image_height))
|
44 |
+
Draw(output_image).text((deci_logo.size[0], original_image_height + 26), _prompt, (127, 127, 127))
|
45 |
return output_image
|
46 |
|
47 |
|