Skip to content

Commit

Permalink
add python api_predict for quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesqiao committed Dec 15, 2016
1 parent 77130c3 commit 0c7d553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/quick_start/api_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Empty file modified demo/quick_start/api_predict.sh
100644 → 100755
Empty file.

0 comments on commit 0c7d553

Please sign in to comment.