Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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 |
|