shezamunir commited on
Commit
349cee3
·
verified ·
1 Parent(s): 39d0cfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,11 +140,11 @@ st.markdown(
140
  st.markdown('</div>', unsafe_allow_html=True)
141
 
142
  # Load the data
143
- data_path = "tiered_models_data.csv"
144
  df = pd.read_csv(data_path)
145
 
146
  # Assign ranks within each tier based on factuality_score
147
- df['rank'] = df.groupby('tier')['factuality_score'].rank(
148
  ascending=False, method='min').astype(int)
149
 
150
  # Replace NaN values with '-'
 
140
  st.markdown('</div>', unsafe_allow_html=True)
141
 
142
  # Load the data
143
+ data_path = "verifact_data.csv"
144
  df = pd.read_csv(data_path)
145
 
146
  # Assign ranks within each tier based on factuality_score
147
+ df['rank'] = df.groupby('tier')['Overall'].rank(
148
  ascending=False, method='min').astype(int)
149
 
150
  # Replace NaN values with '-'