Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
testing for gradio
Browse files
app.py
CHANGED
|
@@ -337,10 +337,12 @@ async def remove_huggingfolks():
|
|
| 337 |
|
| 338 |
print(community_global_df)
|
| 339 |
|
|
|
|
| 340 |
community_global_df['discord_exp'] = pd.to_numeric(community_global_df['discord_exp'])
|
|
|
|
|
|
|
| 341 |
top_30_exp = community_global_df.nlargest(30, 'discord_exp')
|
| 342 |
-
top_30_exp.
|
| 343 |
-
community_global_df = top_30_exp.copy() # for gradio
|
| 344 |
|
| 345 |
top_30_exp['D'] = ['π₯','π₯','π₯','','','','','','','','','','','','','','','','','','','','','','','','','','','']
|
| 346 |
top_30_rows = top_30_exp.values.tolist()
|
|
|
|
| 337 |
|
| 338 |
print(community_global_df)
|
| 339 |
|
| 340 |
+
community_global_df.drop(community_global_df.columns[0], axis=1, inplace=True)
|
| 341 |
community_global_df['discord_exp'] = pd.to_numeric(community_global_df['discord_exp'])
|
| 342 |
+
community_global_df = community_global_df.nlargest(len(community_global_df), 'discord_exp')
|
| 343 |
+
|
| 344 |
top_30_exp = community_global_df.nlargest(30, 'discord_exp')
|
| 345 |
+
#community_global_df = top_30_exp.copy() # for gradio
|
|
|
|
| 346 |
|
| 347 |
top_30_exp['D'] = ['π₯','π₯','π₯','','','','','','','','','','','','','','','','','','','','','','','','','','','']
|
| 348 |
top_30_rows = top_30_exp.values.tolist()
|