fudii0921 commited on
Commit
5c2a469
Β·
verified Β·
1 Parent(s): 2e12111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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.value["loginuser"] = userinfo
63
- state.value["picture"] = profile.picture
64
 
65
- print("pic:",state.value["picture"],profile.picture)
66
- print("login-user:",state.value["loginuser"],userinfo)
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(