Ashmi Banerjee commited on
Commit
4e9003c
·
1 Parent(s): 5acfe56

explicitly changed fonts to black

Browse files
Files changed (1) hide show
  1. views/questions_screen.py +2 -7
views/questions_screen.py CHANGED
@@ -120,10 +120,10 @@ def render_query_ratings(
120
  st.markdown(
121
  f"""
122
  <div style="background-color:{bg_color}; padding:1rem;">
123
- <h3 style="text-align:left;">
124
  {config.index.get_loc(model_name + "_" + query_key) - 5}
125
  </h3>
126
- <p style="text-align:left;">
127
  {query_text}</p>
128
  </div>
129
  """,
@@ -225,11 +225,6 @@ def questions_screen(data):
225
  # st.subheader(f"Config ID: {config['config_id']}")
226
  st.markdown("### Instructions")
227
  with st.expander("Instructions", expanded=False):
228
- st.markdown(
229
- """
230
-
231
- """
232
- )
233
  st.html('''<p style='font-size:large;'>You will be <mark>given a user profile and a travel-related
234
  query</mark>. Your task is to <mark>evaluate the generated queries (numbered 1-6)</mark> based on the
235
  following criteria:</p> <p><strong><mark>Relevance</mark>:</strong> Evaluate how well the query aligns
 
120
  st.markdown(
121
  f"""
122
  <div style="background-color:{bg_color}; padding:1rem;">
123
+ <h3 style="text-align:left;color:black;">
124
  {config.index.get_loc(model_name + "_" + query_key) - 5}
125
  </h3>
126
+ <p style="text-align:left;color:black;">
127
  {query_text}</p>
128
  </div>
129
  """,
 
225
  # st.subheader(f"Config ID: {config['config_id']}")
226
  st.markdown("### Instructions")
227
  with st.expander("Instructions", expanded=False):
 
 
 
 
 
228
  st.html('''<p style='font-size:large;'>You will be <mark>given a user profile and a travel-related
229
  query</mark>. Your task is to <mark>evaluate the generated queries (numbered 1-6)</mark> based on the
230
  following criteria:</p> <p><strong><mark>Relevance</mark>:</strong> Evaluate how well the query aligns