FENST4R commited on
Commit
acedc46
·
verified ·
1 Parent(s): 058d6f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def call_neirost4r(api_version, message, profile="friendly", flags=None):
39
  if api_version in ["ai_v2", "ai_v3", "ai_v4", "ai_v5"]:
40
  data["flags"] = flags
41
  try:
42
- response = requests.post(url, headers=headers, data=json.dumps(data), timeout=30)
43
  return response.json()
44
  except Exception as e:
45
  return {"error": str(e)}
 
39
  if api_version in ["ai_v2", "ai_v3", "ai_v4", "ai_v5"]:
40
  data["flags"] = flags
41
  try:
42
+ response = requests.post(url, headers=headers, data=json.dumps(data), timeout=600)
43
  return response.json()
44
  except Exception as e:
45
  return {"error": str(e)}