Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -619,11 +619,12 @@ async def update_hub_stats():
|
|
619 |
global global_df
|
620 |
|
621 |
updated_df = global_df.copy()
|
622 |
-
for index,
|
623 |
# fill blank values with n/a for now? then replace if they try to verify
|
624 |
#column = global_df['hf_user_name']
|
625 |
|
626 |
#for index, user in column:
|
|
|
627 |
url = f"https://huggingface.co/api/users/{user}/overview"
|
628 |
response = requests.get(url)
|
629 |
if response.status_code == 200:
|
|
|
619 |
global global_df
|
620 |
|
621 |
updated_df = global_df.copy()
|
622 |
+
for index, row in global_df.iterrows():
|
623 |
# fill blank values with n/a for now? then replace if they try to verify
|
624 |
#column = global_df['hf_user_name']
|
625 |
|
626 |
#for index, user in column:
|
627 |
+
user = row['hf_user_name']
|
628 |
url = f"https://huggingface.co/api/users/{user}/overview"
|
629 |
response = requests.get(url)
|
630 |
if response.status_code == 200:
|