liyaoshi commited on
Commit
7b5f63c
·
verified ·
1 Parent(s): 35bd019

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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: