Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,11 +59,11 @@ def list_private_models(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthTo
|
|
| 59 |
#]
|
| 60 |
userinfo = f"εε: {profile.name}γγ\nID: {profile.username}\nγγγγ‘γ€γ«: {profile.profile}"
|
| 61 |
print("userinfo:",userinfo)
|
| 62 |
-
state
|
| 63 |
-
state
|
| 64 |
|
| 65 |
-
print("pic:",state
|
| 66 |
-
print("login-user:",state
|
| 67 |
|
| 68 |
'''global oauth_profile
|
| 69 |
oauth_profile = OAuthProfile(
|
|
|
|
| 59 |
#]
|
| 60 |
userinfo = f"εε: {profile.name}γγ\nID: {profile.username}\nγγγγ‘γ€γ«: {profile.profile}"
|
| 61 |
print("userinfo:",userinfo)
|
| 62 |
+
state["loginuser"] = userinfo
|
| 63 |
+
state["picture"] = profile.picture
|
| 64 |
|
| 65 |
+
print("pic:",state["picture"],profile.picture)
|
| 66 |
+
print("login-user:",state["loginuser"],userinfo)
|
| 67 |
|
| 68 |
'''global oauth_profile
|
| 69 |
oauth_profile = OAuthProfile(
|