abidlabs HF staff commited on
Commit
3c47710
·
1 Parent(s): 73b4b68
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -63,6 +63,7 @@ async def auth(request: Request):
63
  except OAuthError:
64
  return RedirectResponse(url='/')
65
  request.session['user'] = dict(access_token)["userinfo"]
 
66
  return RedirectResponse(url='/gradio')
67
 
68
  with gr.Blocks() as login_demo:
 
63
  except OAuthError:
64
  return RedirectResponse(url='/')
65
  request.session['user'] = dict(access_token)["userinfo"]
66
+ print("Redirecting to /gradio")
67
  return RedirectResponse(url='/gradio')
68
 
69
  with gr.Blocks() as login_demo: