提交 6238c97a 编写于 作者: 走神的阿圆's avatar 走神的阿圆

fix dumps to config.json fail on windows.

上级 ebc18b56
......@@ -42,8 +42,8 @@ PaddleHub以预训练模型应用为核心具备以下特点:
### 环境依赖
* Python>=3.6
* PaddlePaddle>=1.6.1
* Python>=3.6
* PaddlePaddle>=1.6.1
* 操作系统: Windows/Mac/Linux
### 安装命令
......
......@@ -149,7 +149,7 @@ $ hub serving start -c serving_config.json
</p>
这样我们就在8866端口部署了lac的在线分词服务。
这样我们就在8866端口成功部署了lac的在线分词服务。
*此处warning为Flask提示,不影响使用*
### Step2:访问lac预测接口
......
......@@ -8,8 +8,8 @@ class WinLock(object):
pass
def __init__(self):
self.LOCK_EX = ""
self.LOCK_UN = ""
self.LOCK_EX = "WIN_LOCK_EX"
self.LOCK_UN = "WIN_LOCK_UN"
class Lock(object):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册