sanjeevbora commited on
Commit
c2e8168
·
verified ·
1 Parent(s): 6f1f9a4

@spaces.GPU(duration=60)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ class RequestHandler(BaseHTTPRequestHandler):
21
  if self.path.startswith("/callback"):
22
  # Capture the authorization code
23
  code = self.path.split("code=")[1]
24
- token_url = f"{AUTHORITY_URL}/token"
25
  response = requests.post(token_url, data={
26
  'client_id': CLIENT_ID,
27
  'client_secret': CLIENT_SECRET,
 
21
  if self.path.startswith("/callback"):
22
  # Capture the authorization code
23
  code = self.path.split("code=")[1]
24
+ token_url = f"{AUTH_URL}/token"
25
  response = requests.post(token_url, data={
26
  'client_id': CLIENT_ID,
27
  'client_secret': CLIENT_SECRET,