Spaces:
Sleeping
Sleeping
timepute adjust
Browse files
app.py
CHANGED
@@ -222,7 +222,7 @@ def run_fhe(user_id):
|
|
222 |
url = SERVER_URL + "run_fhe"
|
223 |
|
224 |
try:
|
225 |
-
with requests.post(url=url, data=data, timeout=
|
226 |
response.raise_for_status() # Raises an HTTPError for bad responses
|
227 |
if response.ok:
|
228 |
return response.json()
|
|
|
222 |
url = SERVER_URL + "run_fhe"
|
223 |
|
224 |
try:
|
225 |
+
with requests.post(url=url, data=data, timeout=120) as response:
|
226 |
response.raise_for_status() # Raises an HTTPError for bad responses
|
227 |
if response.ok:
|
228 |
return response.json()
|