Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,9 +57,9 @@ def extract_keywords(file):
|
|
| 57 |
if os.path.exists(logo_path):
|
| 58 |
img = Image(logo_path)
|
| 59 |
|
| 60 |
-
# 이미지 크기 조정 (
|
| 61 |
-
img.width =
|
| 62 |
-
img.height =
|
| 63 |
|
| 64 |
# A1 셀에 이미지 삽입
|
| 65 |
worksheet.add_image(img, "A1")
|
|
|
|
| 57 |
if os.path.exists(logo_path):
|
| 58 |
img = Image(logo_path)
|
| 59 |
|
| 60 |
+
# 이미지 크기 조정 (width=140, height=40)
|
| 61 |
+
img.width = 140 # 너비 설정
|
| 62 |
+
img.height = 40 # 높이 설정
|
| 63 |
|
| 64 |
# A1 셀에 이미지 삽입
|
| 65 |
worksheet.add_image(img, "A1")
|