Osnly commited on
Commit
3a2859f
Β·
verified Β·
1 Parent(s): 73a688e

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -36,7 +36,7 @@ uploaded_file = st.file_uploader("πŸ“‚ Upload a CSV file", type=["csv"])
36
  if uploaded_file:
37
  # Save file to /tmp/ for processing
38
  with open(input_path, "wb") as f:
39
- f.write(uploaded_file.read())
40
 
41
  df = pd.read_csv(input_path)
42
  st.subheader("πŸ” Original Data Preview")
 
36
  if uploaded_file:
37
  # Save file to /tmp/ for processing
38
  with open(input_path, "wb") as f:
39
+ f.write(uploaded_file.getbuffer())
40
 
41
  df = pd.read_csv(input_path)
42
  st.subheader("πŸ” Original Data Preview")