Updates related to title and file upload
Browse files
app.py
CHANGED
|
@@ -1 +1,15 @@
|
|
| 1 |
-
from backend import ResultPipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# from backend import ResultPipeline
|
| 2 |
+
import streamlit as st
|
| 3 |
+
def main():
|
| 4 |
+
# Just for setting up the title & head bar
|
| 5 |
+
st.set_page_config(page_title = "Bill App")
|
| 6 |
+
st.title("Bill Extractor")
|
| 7 |
+
|
| 8 |
+
# This section will handle uploadation of files
|
| 9 |
+
files = st.file_uploader("Upload the files here..", type = ["pdf"], accept_multiple_files = True)
|
| 10 |
+
submit = st.button("Extract")
|
| 11 |
+
|
| 12 |
+
# If a user has submitted the fieles, we need to call our pipeline
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|