imageORC / app.py
sarim's picture
update streamlit
619d0fa
raw
history blame
324 Bytes
from transformers import pipeline
import streamlit as st
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?"
)
st.title("Hello Document OCR")
st.write("Vat amount")