lunarflu HF staff commited on
Commit
53acbe3
·
verified ·
1 Parent(s): 7daad99

some debugging

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -42,6 +42,8 @@ def hello(profile: gr.OAuthProfile | None, request: gr.Request) -> str:
42
  user_id = query_params.get('user_id', [None])[0]
43
  token = query_params.get('token', [None])[0]
44
 
 
 
45
  if user_id is None or token is None:
46
  return "# ❌ Invalid link. Generate a new one [here](https://discord.com/channels/879548962464493619/900125909984624713) !."
47
 
 
42
  user_id = query_params.get('user_id', [None])[0]
43
  token = query_params.get('token', [None])[0]
44
 
45
+ print(f"token:{token}\n user_id:{user_id}\n profile:{profile}\n user_tokens:{user_tokens}")
46
+
47
  if user_id is None or token is None:
48
  return "# ❌ Invalid link. Generate a new one [here](https://discord.com/channels/879548962464493619/900125909984624713) !."
49