提交 b7157d44 编写于 作者: Q qiaolongfei 提交者: Yu Yang

add python api_predict for quick start

上级 8c7cc72b
......@@ -138,7 +138,7 @@ def main():
[label, text] = line.split("\t")
labels.append(int(label))
batch.append([predict.get_index(text)])
print("lables is:")
print("labels is:")
print labels
predict.batch_predict(batch)
......
文件模式从 100644 更改为 100755
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册