Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ def message(message,history,profile: gr.OAuthProfile | None):
|
|
13 |
if profile is None:
|
14 |
raise gr.Error("Please login to...")
|
15 |
return
|
|
|
|
|
16 |
return f"hello {profile.name}"
|
17 |
|
18 |
def list_private_models(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthToken | None) -> str:
|
|
|
13 |
if profile is None:
|
14 |
raise gr.Error("Please login to...")
|
15 |
return
|
16 |
+
else:
|
17 |
+
print(profile)
|
18 |
return f"hello {profile.name}"
|
19 |
|
20 |
def list_private_models(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthToken | None) -> str:
|