Update app.py
Browse files
app.py
CHANGED
@@ -55,11 +55,11 @@ def input_file_setup(uploaded_file):
|
|
55 |
raise FileNotFoundError("File not found")
|
56 |
|
57 |
st.set_page_config(page_title="Invoice Information Extractor", page_icon="๐ฎ")
|
58 |
-
st.title("Invoice Information Extractor")
|
59 |
-
st.write("Upload your invoice
|
60 |
|
|
|
61 |
input_query = st.text_input("Ask a question", key="input")
|
62 |
-
uploaded_file = st.file_uploader("Upload an Image ๐ผ๏ธ or PDF ๐", type=["jpg", "jpeg", "png", "pdf"])
|
63 |
|
64 |
if uploaded_file is not None:
|
65 |
if uploaded_file.type.startswith('image'):
|
|
|
55 |
raise FileNotFoundError("File not found")
|
56 |
|
57 |
st.set_page_config(page_title="Invoice Information Extractor", page_icon="๐ฎ")
|
58 |
+
st.title("Invoice Information Extractor ๐")
|
59 |
+
# st.write("Upload your invoice")
|
60 |
|
61 |
+
uploaded_file = st.file_uploader("Upload an Invoice Image ๐ผ๏ธ or PDF ๐", type=["jpg", "jpeg", "png", "pdf"])
|
62 |
input_query = st.text_input("Ask a question", key="input")
|
|
|
63 |
|
64 |
if uploaded_file is not None:
|
65 |
if uploaded_file.type.startswith('image'):
|