Starberry15 commited on
Commit
2e917ae
·
verified ·
1 Parent(s): 468ecc4

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -46,7 +46,7 @@ MODEL_OPTIONS = {
46
 
47
  # ---------- Utility functions ----------
48
 
49
- def read_file(uploaded_file: st.uploaded_file_manager.UploadedFile) -> pd.DataFrame:
50
  name = uploaded_file.name.lower()
51
  if name.endswith(('.csv', '.txt')):
52
  return pd.read_csv(uploaded_file)
 
46
 
47
  # ---------- Utility functions ----------
48
 
49
+ def read_file(uploaded_file) -> pd.DataFrame:
50
  name = uploaded_file.name.lower()
51
  if name.endswith(('.csv', '.txt')):
52
  return pd.read_csv(uploaded_file)