pratham0011 commited on
Commit
33d9fa8
ยท
verified ยท
1 Parent(s): 9e58f33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -59,8 +59,6 @@ def input_file_setup(uploaded_file):
59
  st.set_page_config(page_title="Invoice Information Extractor", page_icon="๐Ÿ”ฎ")
60
  st.title("Invoice Information Extractor ๐Ÿ“ƒ")
61
 
62
- st.write("Upload your invoice (image or PDF)")
63
-
64
  # Display sample prompts
65
 
66
  uploaded_file = st.file_uploader("Upload an Invoice Image ๐Ÿ–ผ๏ธ or PDF ๐Ÿ“„", type=["jpg", "jpeg", "png", "pdf"])
@@ -71,7 +69,6 @@ selected = sp.pills(" Ask a question related to the invoice. Here are some examp
71
  'What is the information about the Products?'],
72
  clearable=True,index=None)
73
 
74
- # input_query = st.text_input("Ask a question about the invoice", key="input")
75
  input_query = selected if selected else st.text_input("Ask a question about the invoice", key="input")
76
 
77
  if uploaded_file is not None:
 
59
  st.set_page_config(page_title="Invoice Information Extractor", page_icon="๐Ÿ”ฎ")
60
  st.title("Invoice Information Extractor ๐Ÿ“ƒ")
61
 
 
 
62
  # Display sample prompts
63
 
64
  uploaded_file = st.file_uploader("Upload an Invoice Image ๐Ÿ–ผ๏ธ or PDF ๐Ÿ“„", type=["jpg", "jpeg", "png", "pdf"])
 
69
  'What is the information about the Products?'],
70
  clearable=True,index=None)
71
 
 
72
  input_query = selected if selected else st.text_input("Ask a question about the invoice", key="input")
73
 
74
  if uploaded_file is not None: