faizhalas commited on
Commit
24909f8
·
verified ·
1 Parent(s): 4cf7a5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,10 +65,11 @@ if uploaded_file is not None:
65
 
66
  keycheck = get_data(extype)
67
 
 
68
  if not keycheck:
69
- rslt_keycheck = "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'."
70
  else:
71
- rslt_keycheck = '✅ Keywords Stem'
72
 
73
  #===check any obj===
74
  coldf = sorted(data.select_dtypes(include=['object']).columns.tolist())
 
65
 
66
  keycheck = get_data(extype)
67
 
68
+ container1 = st.container(border=True)
69
  if not keycheck:
70
+ 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'.")
71
  else:
72
+ container1.write('✅ Keywords Stem')
73
 
74
  #===check any obj===
75
  coldf = sorted(data.select_dtypes(include=['object']).columns.tolist())