Weyaxi commited on
Commit
e667ed5
·
verified ·
1 Parent(s): 6ad2cd0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ df["author"] = df["author"].apply(lambda x: clickable(x))
42
  df['Total Usage'] = df[['models', 'datasets', 'spaces']].sum(axis=1)
43
  df = df.sort_values(by='Total Usage', ascending=False)
44
 
45
- sum_all_author = naturalsize(sum(merged_df['models'].tolist()+merged_df['datasets'].tolist()+merged_df['spaces'].tolist()))
46
 
47
  naturalsize_columns = ['Total Usage', 'models', 'datasets', 'spaces']
48
  df[naturalsize_columns] = df[naturalsize_columns].applymap(naturalsize)
 
42
  df['Total Usage'] = df[['models', 'datasets', 'spaces']].sum(axis=1)
43
  df = df.sort_values(by='Total Usage', ascending=False)
44
 
45
+ sum_all_author = naturalsize(sum(df['models'].tolist()+df['datasets'].tolist()+df['spaces'].tolist()))
46
 
47
  naturalsize_columns = ['Total Usage', 'models', 'datasets', 'spaces']
48
  df[naturalsize_columns] = df[naturalsize_columns].applymap(naturalsize)