Entz commited on
Commit
d2df3a1
·
verified ·
1 Parent(s): 15b84bc

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +1 -1
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=1)
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)