test09.py 368 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 from pprint import pprint from paddlenlp import Taskflow docprompt = Taskflow("document_intelligence") pprint( docprompt( [ { "doc": "https://bj.bcebos.com/paddlenlp/taskflow/document_intelligence/images/invoice.jpg", "prompt": ["发票号码是多少?", "校验码是多少?"], } ] ) )