Update app.py
Browse files
app.py
CHANGED
@@ -592,15 +592,15 @@ def create_interface():
|
|
592 |
with open(image_path, "rb") as img_file:
|
593 |
return base64.b64encode(img_file.read()).decode()
|
594 |
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
css = """
|
605 |
/* 모바일 뷰 */
|
606 |
@media (max-width: 600px) {
|
|
|
592 |
with open(image_path, "rb") as img_file:
|
593 |
return base64.b64encode(img_file.read()).decode()
|
594 |
|
595 |
+
# 모바일/데스크톱 로고 미리 인코딩
|
596 |
+
try:
|
597 |
+
mobile_logo = get_image_base64("static/DIGITAL_GUTPAN_LOGO_m.png")
|
598 |
+
desktop_logo = get_image_base64("static/DIGITAL_GUTPAN_LOGO_w.png")
|
599 |
+
except Exception as e:
|
600 |
+
print(f"로고 로딩 에러: {e}")
|
601 |
+
mobile_logo = ""
|
602 |
+
desktop_logo =
|
603 |
+
|
604 |
css = """
|
605 |
/* 모바일 뷰 */
|
606 |
@media (max-width: 600px) {
|