wenjun99 commited on
Commit
5217706
·
verified ·
1 Parent(s): bce28b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -297,10 +297,10 @@ with tab3:
297
  with tab4:
298
  st.write("Upload an Editing Frequency CSV or enter manually:")
299
  st.write("**Note:** Please upload CSV files **without column headers**, in ascending order from 3244 to 4882.")
300
- ef_file = st.file_uploader("Upload EF CSV", type=["csv"], key="ef")
301
 
302
- if ef_file:
303
- ef_df = pd.read_csv(ef_file, header=None)
304
  ef_df.columns = [str(site) for site in sorted(mutation_site_headers_actual_3614)]
305
  else:
306
  ef_df = pd.DataFrame(columns=[str(site) for site in sorted(mutation_site_headers_actual_3614)])
 
297
  with tab4:
298
  st.write("Upload an Editing Frequency CSV or enter manually:")
299
  st.write("**Note:** Please upload CSV files **without column headers**, in ascending order from 3244 to 4882.")
300
+ ef_file_2 = st.file_uploader("Upload EF CSV", type=["csv"], key="ef2")
301
 
302
+ if ef_file_2:
303
+ ef_df = pd.read_csv(ef_file_2, header=None)
304
  ef_df.columns = [str(site) for site in sorted(mutation_site_headers_actual_3614)]
305
  else:
306
  ef_df = pd.DataFrame(columns=[str(site) for site in sorted(mutation_site_headers_actual_3614)])