Daniela-C commited on
Commit
38020f7
1 Parent(s): be27e36

Create Upload_file

Browse files
Files changed (1) hide show
  1. 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)