Spaces:
Runtime error
Runtime error
Create Upload_file
Browse files- Upload_file +7 -0
Upload_file
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
uploaded_files = st.file_uploader("Choose a CSV file", accept_multiple_files=True)
|
4 |
+
for uploaded_file in uploaded_files:
|
5 |
+
bytes_data = uploaded_file.read()
|
6 |
+
st.write("filename:", uploaded_file.name)
|
7 |
+
st.write(bytes_data)
|