Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def oauth_callback():
62
  if token_response.status_code == 200:
63
  token_info = token_response.json()
64
  access_token = token_info['sSSjyhInIsUohKpG8sHzty2q'] # Correct key to fetch the access token
65
- instance_url = token_info['https://huggingface.co/spaces/Yaswanth56/python_test'] # Correct key to fetch the instance URL
66
 
67
  # Store access token in session for future API requests
68
  session['access_token'] = access_token
 
62
  if token_response.status_code == 200:
63
  token_info = token_response.json()
64
  access_token = token_info['sSSjyhInIsUohKpG8sHzty2q'] # Correct key to fetch the access token
65
+ instance_url = token_info['https://biryanihub-dev-ed.develop.my.site.com/s/welcomePage'] # Correct key to fetch the instance URL
66
 
67
  # Store access token in session for future API requests
68
  session['access_token'] = access_token