Update index.py
Browse files
index.py
CHANGED
@@ -21,7 +21,7 @@ def start_registration():
|
|
21 |
print("Starting registration...")
|
22 |
try:
|
23 |
headers = {"Origin": "https://entz-council-3.hf.space"}
|
24 |
-
response = requests.post(f"{API_URL}/start_registration", headers=headers, timeout=
|
25 |
response.raise_for_status()
|
26 |
data = response.json()
|
27 |
print("API Response:", data)
|
|
|
21 |
print("Starting registration...")
|
22 |
try:
|
23 |
headers = {"Origin": "https://entz-council-3.hf.space"}
|
24 |
+
response = requests.post(f"{API_URL}/start_registration", headers=headers, timeout=5)
|
25 |
response.raise_for_status()
|
26 |
data = response.json()
|
27 |
print("API Response:", data)
|