carolanderson commited on
Commit
85379ec
·
1 Parent(s): e486b9e

change csv to tsv in file download

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,10 +150,10 @@ if __name__ == "__main__":
150
  st.subheader('Output data')
151
  st.write(df)
152
 
153
- output_file = st.text_input("Enter name for the file to be downloaded", value="cards_output.csv")
154
  if output_file is not None:
155
  csv = convert_df(df)
156
- st.download_button("Download data as CSV", csv, file_name=output_file)
157
 
158
 
159
 
 
150
  st.subheader('Output data')
151
  st.write(df)
152
 
153
+ output_file = st.text_input("Enter name for the file to be downloaded", value="cards_output.tsv")
154
  if output_file is not None:
155
  csv = convert_df(df)
156
+ st.download_button("Download data as tab-separated values", csv, file_name=output_file)
157
 
158
 
159