From 0f9f8fb7c827d6df4ffc283468611bc18286c7e2 Mon Sep 17 00:00:00 2001 From: ylfeng Date: Sun, 9 Jun 2024 01:57:51 +0800 Subject: [PATCH] update server --- python/interface/examples/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/interface/examples/server.py b/python/interface/examples/server.py index f0cbf701..8a2fa533 100644 --- a/python/interface/examples/server.py +++ b/python/interface/examples/server.py @@ -5,8 +5,8 @@ """ LTP Server 是对 LTP 的一个简单包装,依赖于 tornado,使用方式如下: .. code-block:: bash - pip install ltp, tornado - python tools/server.py serve + pip install fastapi uvicorn + uvicorn server:app """ from typing import List, Union