From 2c3b2ab19cd8b7fa4c8c95765068cb88567beb09 Mon Sep 17 00:00:00 2001 From: puke Date: Tue, 28 Oct 2025 14:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/app.py b/web/app.py index 8160dee..953fb96 100644 --- a/web/app.py +++ b/web/app.py @@ -679,14 +679,9 @@ def main(): # Display preview if preview_path: st.success(tr("template.preview_success")) - - # Calculate display width (max 500px or 1/3 of original) - display_width = min(500, preview_width // 3) - st.image( preview_path, caption=tr("template.preview_caption", template=frame_template), - # width=display_width ) # Show file path