Spaces:
Running
Running
Update pages/1 Keywords Stem.py
Browse files- 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: '
|
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)
|