ethanrom commited on
Commit
7bd8eb6
·
1 Parent(s): c26ce52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import streamlit as st
2
  import tensorflow as tf
3
  from button_click_alt import find_order_id
 
4
 
5
  def main():
6
  st.set_page_config(page_title='Order ID Finder', layout='wide')
@@ -53,5 +54,14 @@ def main():
53
  elif result['status'] == 'warning':
54
  st.warning(result['message'])
55
 
 
 
 
 
 
 
 
 
 
56
  if __name__ == '__main__':
57
  main()
 
1
  import streamlit as st
2
  import tensorflow as tf
3
  from button_click_alt import find_order_id
4
+ import pandas as pd
5
 
6
  def main():
7
  st.set_page_config(page_title='Order ID Finder', layout='wide')
 
54
  elif result['status'] == 'warning':
55
  st.warning(result['message'])
56
 
57
+ with tabs[2]:
58
+ st.write('## Preview Found Records')
59
+ st.write('This is the preview found records tab')
60
+ if input_file:
61
+ df = pd.read_csv(input_file, header=None, names=['Order ID', 'Name', 'Font'])
62
+ st.write(df)
63
+ else:
64
+ st.warning('Please upload an input file first.')
65
+
66
  if __name__ == '__main__':
67
  main()