ChrisJohnson111 commited on
Commit
6add3b6
·
1 Parent(s): b37731e

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -52,7 +52,7 @@ def get_result_example(cloth_id, pose_id):
52
  return res_path
53
 
54
  def getAllFastInfs(apiUrl, openId, apiKey, clientIp):
55
- params = {'openId':openId, 'apiKey':apiKey, 'ipId':clientIp, 'page':0}
56
  session = requests.session()
57
  ret = requests.post(f"{apiUrl}/api/inf/get_batch_fast_results", data=json.dumps(params))
58
  res = []
 
52
  return res_path
53
 
54
  def getAllFastInfs(apiUrl, openId, apiKey, clientIp):
55
+ params = {'openId':openId, 'apiKey':apiKey, 'ipId':'', 'page':0}
56
  session = requests.session()
57
  ret = requests.post(f"{apiUrl}/api/inf/get_batch_fast_results", data=json.dumps(params))
58
  res = []