faizhalas commited on
Commit
656ddcf
Β·
verified Β·
1 Parent(s): 0e868ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -62,7 +62,7 @@ if uploaded_file is not None:
62
  keycheck = [k for k in keycheck if 'Keyword' in k]
63
 
64
  container1 = st.container(border=True)
65
- container1.subheader('Keyword Stem', divider='brown')
66
  if not keycheck:
67
  container1.write("❌ Unfortunately, you don't have a column containing keywords in your data. Please check again. If you want to use it in another column, please rename it to 'Keywords'.")
68
  else:
@@ -73,7 +73,7 @@ if uploaded_file is not None:
73
  coldf = sorted(data.select_dtypes(include=['object']).columns.tolist())
74
 
75
  container2 = st.container(border=True)
76
- container2.subheader('Topic Modeling', divider='brown')
77
 
78
  if not coldf:
79
  container2.write("❌ Unfortunately, you don't have a column containing object in your data. Please check again.")
@@ -84,7 +84,7 @@ if uploaded_file is not None:
84
  st.divider()
85
 
86
  container3 = st.container(border=True)
87
- container3.subheader('Bidirected Network', divider='brown')
88
 
89
  if not keycheck:
90
  container3.write("❌ Unfortunately, you don't have a column containing keywords in your data. Please check again. If you want to use it in another column, please rename it to 'Keywords'.")
@@ -101,7 +101,7 @@ if uploaded_file is not None:
101
  miss_col = [column for column in col2check if column not in data.columns]
102
 
103
  container4 = st.container(border=True)
104
- container4.subheader('Sunburst', divider='brown')
105
 
106
  if not miss_col:
107
  container4.write('βœ… Congratulations! You can use Sunburst')
 
62
  keycheck = [k for k in keycheck if 'Keyword' in k]
63
 
64
  container1 = st.container(border=True)
65
+ container1.subheader('Keyword Stem', divider='red')
66
  if not keycheck:
67
  container1.write("❌ Unfortunately, you don't have a column containing keywords in your data. Please check again. If you want to use it in another column, please rename it to 'Keywords'.")
68
  else:
 
73
  coldf = sorted(data.select_dtypes(include=['object']).columns.tolist())
74
 
75
  container2 = st.container(border=True)
76
+ container2.subheader('Topic Modeling', divider='red')
77
 
78
  if not coldf:
79
  container2.write("❌ Unfortunately, you don't have a column containing object in your data. Please check again.")
 
84
  st.divider()
85
 
86
  container3 = st.container(border=True)
87
+ container3.subheader('Bidirected Network', divider='red')
88
 
89
  if not keycheck:
90
  container3.write("❌ Unfortunately, you don't have a column containing keywords in your data. Please check again. If you want to use it in another column, please rename it to 'Keywords'.")
 
101
  miss_col = [column for column in col2check if column not in data.columns]
102
 
103
  container4 = st.container(border=True)
104
+ container4.subheader('Sunburst', divider='red')
105
 
106
  if not miss_col:
107
  container4.write('βœ… Congratulations! You can use Sunburst')