Spaces:
Build error
Build error
update related to title and file upload
Browse files
app.py
CHANGED
|
@@ -1 +1,12 @@
|
|
| 1 |
-
from backend import ResultPipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#from backend import ResultPipeline
|
| 2 |
+
import streamlit as st
|
| 3 |
+
def main():
|
| 4 |
+
st.set_page_config(page_title="Bill App")
|
| 5 |
+
st.title("Bill Extractor")
|
| 6 |
+
|
| 7 |
+
#This section handle upload of files
|
| 8 |
+
files = st.file_uploader("Upload the file here:", type=["pdf"], accept_multiple_files=True)
|
| 9 |
+
submit = st.button("Extract")
|
| 10 |
+
|
| 11 |
+
# If user submitted the files, we need to call our pipeline
|
| 12 |
+
|