Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,12 +117,12 @@ def main():
|
|
117 |
df = df.append(full_df[full_df['tags'].str.lower().str.contains('phi-msft')], ignore_index=True)
|
118 |
if show_mistral:
|
119 |
df = df.append(full_df[full_df['tags'].str.lower().str.contains('mistral')], ignore_index=True)
|
120 |
-
|
121 |
# Sort values
|
122 |
df = df.sort_values(by='Average', ascending=False)
|
123 |
-
|
124 |
# Display the DataFrame
|
125 |
-
st.dataframe(df[['Model'] + score_columns + ['
|
126 |
|
127 |
# Full-width plot for the first category
|
128 |
create_bar_chart(df, score_columns[0])
|
|
|
117 |
df = df.append(full_df[full_df['tags'].str.lower().str.contains('phi-msft')], ignore_index=True)
|
118 |
if show_mistral:
|
119 |
df = df.append(full_df[full_df['tags'].str.lower().str.contains('mistral')], ignore_index=True)
|
120 |
+
|
121 |
# Sort values
|
122 |
df = df.sort_values(by='Average', ascending=False)
|
123 |
+
|
124 |
# Display the DataFrame
|
125 |
+
st.dataframe(df[['Model'] + score_columns + ['Likes']], use_container_width=True)
|
126 |
|
127 |
# Full-width plot for the first category
|
128 |
create_bar_chart(df, score_columns[0])
|