faizhalas commited on
Commit
eaa51fd
β€’
1 Parent(s): 149438d

Update pages/1 Keywords Stem.py

Browse files
Files changed (1) hide show
  1. pages/1 Keywords Stem.py +2 -2
pages/1 Keywords Stem.py CHANGED
@@ -156,7 +156,7 @@ if uploaded_file is not None:
156
  tab1, tab2, tab3, tab4 = st.tabs(["πŸ“₯ Result", "πŸ“₯ List of Keywords", "πŸ“ƒ Reference", "πŸ“ƒ Recommended Reading"])
157
 
158
  with tab1:
159
- st.dataframe(keywords, use_container_width=True)
160
  @st.cache_data(ttl=3600)
161
  def convert_df(extype):
162
  return keywords.to_csv(index=False).encode('utf-8')
@@ -185,7 +185,7 @@ if uploaded_file is not None:
185
  with tab2:
186
  @st.cache_data(ttl=3600)
187
  def table_keyword(extype):
188
- keytab = key.drop(['index'], axis=1).rename(columns={0: 'old'})
189
  return keytab
190
  #===coloring the same keywords===
191
  @st.cache_data(ttl=3600)
 
156
  tab1, tab2, tab3, tab4 = st.tabs(["πŸ“₯ Result", "πŸ“₯ List of Keywords", "πŸ“ƒ Reference", "πŸ“ƒ Recommended Reading"])
157
 
158
  with tab1:
159
+ st.dataframe(keywords, use_container_width=True, hide_index=True)
160
  @st.cache_data(ttl=3600)
161
  def convert_df(extype):
162
  return keywords.to_csv(index=False).encode('utf-8')
 
185
  with tab2:
186
  @st.cache_data(ttl=3600)
187
  def table_keyword(extype):
188
+ keytab = key.drop(['index'], axis=1).rename(columns={0: 'label'})
189
  return keytab
190
  #===coloring the same keywords===
191
  @st.cache_data(ttl=3600)