Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
change
Browse files
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:
|