优化提示词

This commit is contained in:
xunbu
2025-05-29 17:11:01 +08:00
parent 112a7d2054
commit f6766a8799
2 changed files with 10 additions and 14 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} ctrl+点击链接即可打开)")
print(f"用浏览器访问 http://127.0.0.1:{port}")
uvicorn.run(app, host="127.0.0.1", port=port, workers=1)
except Exception as e:
print(f"启动失败: {e}")