Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ def verify_button(profile: gr.OAuthProfile | None, request: gr.Request) -> str:
|
|
| 206 |
else:
|
| 207 |
print(f"⚠️ {member.name} did not have the pending role. Ignoring.")
|
| 208 |
|
| 209 |
-
|
| 210 |
return f"# ✅ Verification successful! Welcome, {profile.username} 🎉"
|
| 211 |
|
| 212 |
|
|
|
|
| 206 |
else:
|
| 207 |
print(f"⚠️ {member.name} did not have the pending role. Ignoring.")
|
| 208 |
|
| 209 |
+
await upgrade_role()
|
| 210 |
return f"# ✅ Verification successful! Welcome, {profile.username} 🎉"
|
| 211 |
|
| 212 |
|