Spaces:
Running
Running
刘宇轩
commited on
Commit
·
cf7eb80
1
Parent(s):
c80ea34
update
Browse files- watermark.py +1 -1
watermark.py
CHANGED
@@ -10,7 +10,7 @@ class WatermarkApp:
|
|
10 |
watermark = Image.open('asset/chaojihui-v2.png')
|
11 |
# 获取水印的等比例缩放尺寸
|
12 |
wm_width, wm_height = watermark.size
|
13 |
-
target_size =
|
14 |
alpha = 0.3
|
15 |
|
16 |
if wm_width > wm_height:
|
|
|
10 |
watermark = Image.open('asset/chaojihui-v2.png')
|
11 |
# 获取水印的等比例缩放尺寸
|
12 |
wm_width, wm_height = watermark.size
|
13 |
+
target_size = 400
|
14 |
alpha = 0.3
|
15 |
|
16 |
if wm_width > wm_height:
|