Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
discord leaderboard fix
Browse files
app.py
CHANGED
@@ -689,7 +689,7 @@ async def remove_huggingfolks():
|
|
689 |
community_global_df['total_exp'] = pd.to_numeric(community_global_df['total_exp'], errors='coerce').fillna(0).astype(int)
|
690 |
community_global_df = community_global_df.nlargest(len(community_global_df), 'total_exp')
|
691 |
# add profile hyperlinks to gradio demo
|
692 |
-
community_global_df_gradio = community_global_df
|
693 |
community_global_df_gradio['hf_user_name'] = community_global_df_gradio['hf_user_name'].apply(format_hyperlink)
|
694 |
|
695 |
top_num = 10
|
|
|
689 |
community_global_df['total_exp'] = pd.to_numeric(community_global_df['total_exp'], errors='coerce').fillna(0).astype(int)
|
690 |
community_global_df = community_global_df.nlargest(len(community_global_df), 'total_exp')
|
691 |
# add profile hyperlinks to gradio demo
|
692 |
+
community_global_df_gradio = community_global_df.copy()
|
693 |
community_global_df_gradio['hf_user_name'] = community_global_df_gradio['hf_user_name'].apply(format_hyperlink)
|
694 |
|
695 |
top_num = 10
|