imageORC / app.py
sarim's picture
Add application file
98c9c9c
raw
history blame
246 Bytes
from transformers import pipeline
nlp = pipeline(
"document-question-answering",
model="impira/layoutlm-document-qa",
)
nlp(
"https://templates.invoicehome.com/invoice-template-us-neat-750px.png",
"What is the invoice number?"
)