nagasurendra Yaswanth56 commited on
Commit
1978193
·
verified ·
1 Parent(s): 40e7d6e

Update app.py (#4)

Browse files

- Update app.py (1e1176083cb845e64a48befb31fede5341ce9053)


Co-authored-by: Yaswanth Telagamsetti <[email protected]>

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