Ashmi Banerjee commited on
Commit
934c580
·
1 Parent(s): 6cdfa00

updated questions

Browse files
Files changed (1) hide show
  1. views/questions_screen.py +2 -1
views/questions_screen.py CHANGED
@@ -131,7 +131,8 @@ def render_query_ratings(
131
  """,
132
  unsafe_allow_html=True,
133
  )
134
- cols = st.columns(4)
 
135
  options = [0, 1, 2, 3, 4]
136
  groundedness_rating = render_single_rating(
137
  "Groundedness:",
 
131
  """,
132
  unsafe_allow_html=True,
133
  )
134
+ col_no = 4 if has_persona_alignment else 3
135
+ cols = st.columns(col_no)
136
  options = [0, 1, 2, 3, 4]
137
  groundedness_rating = render_single_rating(
138
  "Groundedness:",