Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- 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.
|
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")
|