lunarflu HF staff commited on
Commit
36082f6
·
verified ·
1 Parent(s): 1fd8a66

discord leaderboard fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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