forked from santosha86/Invoice_Processing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtext
More file actions
20 lines (16 loc) · 869 Bytes
/
text
File metadata and controls
20 lines (16 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'''nav = st.sidebar.radio("Navigation",['Home','Extract','Analytics'])
if nav == 'Home':
st.write("We are processing invoices and extracting some fileds and storing in Database.Also we verify with source system")
if nav == 'Extract':
#file = st.file_uploader("Pick a file")
#path = st.file_uploader("Input the file path")
#input_img = st.file_uploader("Please upload image file.....", type =['jpeg,jpg,png,PNG,JPG,JPEG'])
input_img = st.file_uploader("Please upload image file.....")
if input_img is not None:
image = Image.open(input_img)
st.image(input_img,caption='Input Invoice')
option = st.selectbox("Please select one",("Eng_To_Eng","Eng_To_Ara","Ara_To_Ara","Ara_To_Eng"))
if st.checkbox("Show Data"):
st.table(data)
if nav == 'Analytics':
st.write("Here we show main KPI's of this POC")'''