DavMelchi commited on
Commit
962e6f5
·
1 Parent(s): c83b398

Update dump compare tools- remove tempfile utilization

Browse files
Files changed (1) hide show
  1. apps/dump_compare.py +7 -2
apps/dump_compare.py CHANGED
@@ -40,13 +40,16 @@ def detect_dist_col(columns):
40
 
41
  # === Interface Streamlit ===
42
 
43
- st.title("📊 Dump Compare Tool (In-Memory with Calamine)")
 
 
 
44
 
45
  old_file = st.file_uploader("Upload Old Dump (.xlsb)", type=["xlsb"], key="old")
46
  new_file = st.file_uploader("Upload New Dump (.xlsb)", type=["xlsb"], key="new")
47
 
48
  sheet_list_input = st.text_input(
49
- "Enter sheet names (comma-separated)", placeholder="e.g. BCF, BTS, CELL"
50
  )
51
 
52
  if st.button("Run Comparison", type="primary", use_container_width=True):
@@ -128,4 +131,6 @@ if st.button("Run Comparison", type="primary", use_container_width=True):
128
  data=output_buffer.getvalue(),
129
  file_name="differences.zip",
130
  mime="application/zip",
 
 
131
  )
 
40
 
41
  # === Interface Streamlit ===
42
 
43
+ st.title("📊 Dump Compare Tool")
44
+ st.markdown(
45
+ ":blue[**Upload the old and new dumps, then input the object class (comma-separated) to compare**]"
46
+ )
47
 
48
  old_file = st.file_uploader("Upload Old Dump (.xlsb)", type=["xlsb"], key="old")
49
  new_file = st.file_uploader("Upload New Dump (.xlsb)", type=["xlsb"], key="new")
50
 
51
  sheet_list_input = st.text_input(
52
+ "Enter object class (comma-separated)", placeholder="e.g. BCF, BTS, CELL"
53
  )
54
 
55
  if st.button("Run Comparison", type="primary", use_container_width=True):
 
131
  data=output_buffer.getvalue(),
132
  file_name="differences.zip",
133
  mime="application/zip",
134
+ type="primary",
135
+ on_click="ignore",
136
  )