CultriX commited on
Commit
ec2bb77
β€’
1 Parent(s): 5e3730c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -105,6 +105,10 @@ def main():
105
  st.title("πŸ† YALL - Yet Another LLM Leaderboard")
106
  st.markdown("Leaderboard made with 🧐 [LLM AutoEval](https://github.com/mlabonne/llm-autoeval) using [Nous](https://huggingface.co/NousResearch) benchmark suite.")
107
 
 
 
 
 
108
  if content:
109
  df = convert_markdown_table_to_dataframe(content)
110
  df = get_and_update_model_info(df)
@@ -113,8 +117,7 @@ def main():
113
  if col in df.columns:
114
  df[col] = pd.to_numeric(df[col], errors='coerce')
115
  display_highest_combined_scores(df, score_columns)
116
- # Create tabs for leaderboard and about section
117
- content = create_yall()
118
  tab1, tab2 = st.tabs(["πŸ† Leaderboard", "πŸ“ About"])
119
 
120
 
 
105
  st.title("πŸ† YALL - Yet Another LLM Leaderboard")
106
  st.markdown("Leaderboard made with 🧐 [LLM AutoEval](https://github.com/mlabonne/llm-autoeval) using [Nous](https://huggingface.co/NousResearch) benchmark suite.")
107
 
108
+ # Placeholder or logic to set 'content' with actual markdown or data
109
+ content = create_yall()
110
+
111
+ # Ensure 'content' has a value before proceeding
112
  if content:
113
  df = convert_markdown_table_to_dataframe(content)
114
  df = get_and_update_model_info(df)
 
117
  if col in df.columns:
118
  df[col] = pd.to_numeric(df[col], errors='coerce')
119
  display_highest_combined_scores(df, score_columns)
120
+
 
121
  tab1, tab2 = st.tabs(["πŸ† Leaderboard", "πŸ“ About"])
122
 
123