SujanMidatani commited on
Commit
08a842b
·
1 Parent(s): 5d9c6ed

timeout update

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,11 +17,11 @@ def eval(type:str, sub_task:str ,question:str,essay:str,api_key:str):
17
  }
18
  if (type=="Interpreting Visual Data"):
19
  if (sub_task=="Academic"):
20
- response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=60)
21
  else:
22
- response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=60)
23
  else:
24
- response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=60)
25
  json_out=response.json()
26
 
27
 
 
17
  }
18
  if (type=="Interpreting Visual Data"):
19
  if (sub_task=="Academic"):
20
+ response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=120)
21
  else:
22
+ response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=120)
23
  else:
24
+ response = requests.post("https://api.skill2030.com/api/essaygrader/", headers=headers, json=payload, verify=False, timeout=120)
25
  json_out=response.json()
26
 
27