juliets samidh commited on
Commit
063f8a8
·
verified ·
1 Parent(s): 58f145b

Fixed cope_token (#5)

Browse files

- Fixed cope_token (8cad6bccc107853cfdc671837348334990d8f8f4)


Co-authored-by: Samidh <[email protected]>

Files changed (1) hide show
  1. utils/helpers.py +1 -1
utils/helpers.py CHANGED
@@ -90,7 +90,7 @@ def get_inference_token(oauth_token: gr.OAuthToken | None) -> tuple[str | None,
90
  personal_token, status_msg = get_personal_token(oauth_token)
91
  return personal_token, status_msg
92
 
93
- def get_cope_token(oauth_token: gr.OAuthToken | None) -> tuple[str | None, str]:
94
  cope_token = os.getenv("COPE_INFERENCE_TOKEN")
95
  return cope_token, ""
96
 
 
90
  personal_token, status_msg = get_personal_token(oauth_token)
91
  return personal_token, status_msg
92
 
93
+ def get_cope_token() -> tuple[str | None, str]:
94
  cope_token = os.getenv("COPE_INFERENCE_TOKEN")
95
  return cope_token, ""
96