Spaces:
Sleeping
Sleeping
vtrv.vls
commited on
Commit
·
291232b
1
Parent(s):
f82651c
API test
Browse files
utils.py
CHANGED
@@ -5,6 +5,7 @@ from datetime import datetime, timedelta
|
|
5 |
|
6 |
|
7 |
def gen_auth_token(auth_file):
|
|
|
8 |
url = "https://ngw.devices.sberbank.ru:9443/api/v2/oauth"
|
9 |
|
10 |
payload='scope=GIGACHAT_API_CORP'
|
|
|
5 |
|
6 |
|
7 |
def gen_auth_token(auth_file):
|
8 |
+
print(os.getenv('GIGACHAT_API_TOKEN'))
|
9 |
url = "https://ngw.devices.sberbank.ru:9443/api/v2/oauth"
|
10 |
|
11 |
payload='scope=GIGACHAT_API_CORP'
|