Upload folder using huggingface_hub
Browse files- __pycache__/request_api.cpython-38.pyc +0 -0
- request_api.py +2 -2
__pycache__/request_api.cpython-38.pyc
CHANGED
Binary files a/__pycache__/request_api.cpython-38.pyc and b/__pycache__/request_api.cpython-38.pyc differ
|
|
request_api.py
CHANGED
@@ -20,7 +20,7 @@ def make_get_request(endpoint,params):
|
|
20 |
response = requests.get(
|
21 |
url = f'{BASE_URL}{endpoint}',
|
22 |
params=params,
|
23 |
-
verify=
|
24 |
)
|
25 |
print(response.url)
|
26 |
# Check if the response is successful
|
@@ -42,7 +42,7 @@ def make_post_request(endpoint,params,data=None):
|
|
42 |
url=BASE_URL + endpoint,
|
43 |
params=params,
|
44 |
data=data,
|
45 |
-
verify=
|
46 |
)
|
47 |
|
48 |
# Check if the response is successful
|
|
|
20 |
response = requests.get(
|
21 |
url = f'{BASE_URL}{endpoint}',
|
22 |
params=params,
|
23 |
+
verify=True
|
24 |
)
|
25 |
print(response.url)
|
26 |
# Check if the response is successful
|
|
|
42 |
url=BASE_URL + endpoint,
|
43 |
params=params,
|
44 |
data=data,
|
45 |
+
verify=True
|
46 |
)
|
47 |
|
48 |
# Check if the response is successful
|