Spaces:
Sleeping
Sleeping
Update app.py
Browse files47 unmodified lines4849505152535447 unmodified linesdf['analysis'] = df['score'].apply(analyze)st.write(df.head(10))@st.cachedef convert_df(df):# IMPORTANT: Cache the conversion to prevent computation on every rerunreturn df.to_csv().encode('utf-8')47 unmodified lines484950515253545547 unmodified linesdf['analysis'] = df['score'].apply(analyze)st.write(df.head(10))#@st.cache@st.cache_datadef convert_df(df):# IMPORTANT: Cache the conversion to prevent computation on every rerunreturn df.to_csv().encode('utf-8')
app.py+2-1