Andrew Stirn commited on
Commit
d77f54b
1 Parent(s): 81661d3

warning fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import os, shutil
4
  from tiger import tiger_exhibit, load_transcripts, TARGET_LEN, NUCLEOTIDE_TOKENS
5
 
6
 
7
- @st.cache
8
  def convert_df(df):
9
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
10
  return df.to_csv().encode('utf-8')
 
4
  from tiger import tiger_exhibit, load_transcripts, TARGET_LEN, NUCLEOTIDE_TOKENS
5
 
6
 
7
+ @st.cache_data
8
  def convert_df(df):
9
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
10
  return df.to_csv().encode('utf-8')