From 994d6002215bd3d51806ab14e484d3289b85c6eb Mon Sep 17 00:00:00 2001 From: carry Date: Sun, 20 Apr 2025 21:25:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=20=E8=B0=83=E6=95=B4=20Tens?= =?UTF-8?q?orBoard=20iframe=20=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 TensorBoard iframe 的高度从 500px 修改为 1000px - 此修改旨在提供更宽敞的显示区域,改善用户体验 --- frontend/train_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/train_page.py b/frontend/train_page.py index 91e0e27..3cd1903 100644 --- a/frontend/train_page.py +++ b/frontend/train_page.py @@ -74,7 +74,7 @@ def train_page(): # 动态生成 TensorBoard iframe tensorboard_url = f"http://localhost:{tensorboard_port}" - tensorboard_iframe_value = f'' + tensorboard_iframe_value = f'' yield "训练开始...", tensorboard_iframe_value # 返回两个值,分别对应 textbox 和 html try: