Skip to content

Commit

Permalink
文档识别接口 - 使用手册
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroi-sora committed Jul 3, 2024
1 parent da99908 commit e4e1169
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UmiOCR-data/py_src/server/doc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def _result():
return {"code": 103, "data": f"任务 {msnID} 不存在。"}
is_data = user_data.get("is_data", False)
format = user_data.get("format", "dict")
is_unread = user_data.get("is_unread", False)
is_unread = user_data.get("is_unread", True)
return doc_unit.get_result(is_data, format, is_unread)

"""
Expand Down
Loading

0 comments on commit e4e1169

Please sign in to comment.