hong-xl commited on
Commit
c47f1f2
·
1 Parent(s): e2c3674

update application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def create_html_page(input_image):
8
  # 将输入图片转换为 Pillow Image 对象
9
  image = Image.open(input_image)
10
  # image = input_image
11
- print(image.shape)
12
  # 创建一个新的 Pillow Image 对象,大小为原始图片大小加上文本高度
13
  new_image = Image.new('RGB', (image.width, image.height + 50), color = 'white')
14
  new_image.paste(image, (0, 0))
 
8
  # 将输入图片转换为 Pillow Image 对象
9
  image = Image.open(input_image)
10
  # image = input_image
11
+ # print(image.shape)
12
  # 创建一个新的 Pillow Image 对象,大小为原始图片大小加上文本高度
13
  new_image = Image.new('RGB', (image.width, image.height + 50), color = 'white')
14
  new_image.paste(image, (0, 0))