改进提示词

This commit is contained in:
xunbu
2025-05-29 20:13:58 +08:00
parent f6766a8799
commit 097efa6cb5
5 changed files with 23 additions and 21 deletions

View File

@@ -443,7 +443,7 @@ def run_app():
if port != initial_port:
print(f"端口 {initial_port} 被占用,将使用端口 {port} 代替")
print("正在启动 DocuTranslate WebUI")
print(f"请用浏览器访问 http://127.0.0.1:{port}")
print(f"请用浏览器访问 http://127.0.0.1:{port} (部分终端可以使用ctrl+左键点击网址打开)")
uvicorn.run(app, host="127.0.0.1", port=port, workers=1)
except Exception as e:
print(f"启动失败: {e}")