cmagganas commited on
Commit
a266b98
1 Parent(s): d3c59b8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/app.py +1 -1
app/app.py CHANGED
@@ -36,7 +36,7 @@ if st.button("Run Data Cleaning API"):
36
  # run data cleaning API on csv_file
37
  output_df = main(csv_file)
38
 
39
- @st.cache
40
  def convert_df(df):
41
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
42
  return df.to_csv().encode('utf-8')
 
36
  # run data cleaning API on csv_file
37
  output_df = main(csv_file)
38
 
39
+ @st.cache_data
40
  def convert_df(df):
41
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
42
  return df.to_csv().encode('utf-8')