Skip to content

Commit 0c7d553

Browse files
committed
add python api_predict for quick start
1 parent 77130c3 commit 0c7d553

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

demo/quick_start/api_predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def main():
138138
[label, text] = line.split("\t")
139139
labels.append(int(label))
140140
batch.append([predict.get_index(text)])
141-
print("lables is:")
141+
print("labels is:")
142142
print labels
143143
predict.batch_predict(batch)
144144

demo/quick_start/api_predict.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)