sunnysharma20 commited on
Commit
fdb3261
·
verified ·
1 Parent(s): 2cf483d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -12,16 +12,16 @@ def main():
12
  # If user submitted the files, we need to call our pipeline
13
  if submit:
14
  with st.spinner("Please wait, while we processing your information..."):
15
- pipe = InvoicePipeline(files)
16
- df_results = pipe.run()
17
- st.write(df_results)
18
- convert_to_csv = df_results.to_csv(index = False).encode("utf-8")
19
- st.download_button(
20
- "Download",
21
- convert_to_csv,
22
- "bill.csv",
23
- "text/csv",
24
- key = "download-csv"
25
 
26
  )
27
 
 
12
  # If user submitted the files, we need to call our pipeline
13
  if submit:
14
  with st.spinner("Please wait, while we processing your information..."):
15
+ pipe = InvoicePipeline(files)
16
+ df_results = pipe.run()
17
+ st.write(df_results)
18
+ convert_to_csv = df_results.to_csv(index = False).encode("utf-8")
19
+ st.download_button(
20
+ "Download",
21
+ convert_to_csv,
22
+ "bill.csv",
23
+ "text/csv",
24
+ key = "download-csv"
25
 
26
  )
27