ayethuzar commited on
Commit
ab8e1f9
1 Parent(s): 518b2cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,15 +18,15 @@ uploaded_file = st.file_uploader("Choose a file")
18
  if uploaded_file is not None:
19
  # To read file as bytes:
20
  bytes_data = uploaded_file.getvalue()
21
- st.write(bytes_data)
22
 
23
  # To convert to a string based IO:
24
  stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
25
- st.write(stringio)
26
 
27
  # To read file as string:
28
  string_data = stringio.read()
29
- st.write(string_data)
30
 
31
  # Can be used wherever a "file-like" object is accepted:
32
  dataframe = pd.read_csv(uploaded_file)
 
18
  if uploaded_file is not None:
19
  # To read file as bytes:
20
  bytes_data = uploaded_file.getvalue()
21
+ #st.write(bytes_data)
22
 
23
  # To convert to a string based IO:
24
  stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
25
+ #st.write(stringio)
26
 
27
  # To read file as string:
28
  string_data = stringio.read()
29
+ #st.write(string_data)
30
 
31
  # Can be used wherever a "file-like" object is accepted:
32
  dataframe = pd.read_csv(uploaded_file)