InnovisionLLC commited on
Commit
7831b19
·
verified ·
1 Parent(s): f65f3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,8 +7,7 @@ def hello(profile: gr.OAuthProfile | None) -> str:
7
  print(profile)
8
  if profile is None:
9
  return "I don't know you."
10
- id = (whoami()["id"])
11
- print(id)
12
 
13
  return f"Hello {id}"
14
 
 
7
  print(profile)
8
  if profile is None:
9
  return "I don't know you."
10
+ id = whoami(oauth_token.token)['id']
 
11
 
12
  return f"Hello {id}"
13