Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ def hello(profile: gr.OAuthProfile | None) -> str:
|
|
| 6 |
# ^ expect a gr.OAuthProfile object as input to get the user's profile
|
| 7 |
# if the user is not logged in, profile will be None
|
| 8 |
if profile is None:
|
| 9 |
-
return "
|
| 10 |
-
return f"
|
| 11 |
|
| 12 |
|
| 13 |
|
|
|
|
| 6 |
# ^ expect a gr.OAuthProfile object as input to get the user's profile
|
| 7 |
# if the user is not logged in, profile will be None
|
| 8 |
if profile is None:
|
| 9 |
+
return "❌ Not logged in."
|
| 10 |
+
return f"✅ Successfully logged in as `{profile.username}`."
|
| 11 |
|
| 12 |
|
| 13 |
|