Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix
Browse files
app.py
CHANGED
@@ -863,7 +863,7 @@ def verify_button(profile: gr.OAuthProfile | None, request: gr.Request) -> str:
|
|
863 |
return (f"# ❌ The HF account {profile.username} is already verified! To change discord accounts or HF accounts, contact @lunarflu or adam@huggingface.co")
|
864 |
|
865 |
# check if discord_user_id in dataframe:
|
866 |
-
altered_member_id = "L" + str(
|
867 |
if altered_member_id in global_df['discord_user_id'].values:
|
868 |
|
869 |
hf_user_name = global_df.loc[global_df['discord_user_id'] == altered_member_id, 'hf_user_name'].iloc[0]
|
|
|
863 |
return (f"# ❌ The HF account {profile.username} is already verified! To change discord accounts or HF accounts, contact @lunarflu or adam@huggingface.co")
|
864 |
|
865 |
# check if discord_user_id in dataframe:
|
866 |
+
altered_member_id = "L" + str(user_id) + "L"
|
867 |
if altered_member_id in global_df['discord_user_id'].values:
|
868 |
|
869 |
hf_user_name = global_df.loc[global_df['discord_user_id'] == altered_member_id, 'hf_user_name'].iloc[0]
|