selfitcamera commited on
Commit
ef3b103
β€’
1 Parent(s): 417b9e3
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -105,7 +105,7 @@ def publicFastSwap(apiUrl, openId, apiKey, infId, category, caption, denoise_ste
105
  category = 4
106
  params = {'openId':OpenId, 'apiKey':ApiKey, 'infId':infId,
107
  'denoise_steps':int(denoise_steps), 'auto_mask':1, 'auto_crop':1,
108
- 'category':category, 'caption':caption}
109
  session = requests.session()
110
  ret = requests.post(f"{ApiUrl}/api/inf/public_fastinf", data=json.dumps(params))
111
  if ret.status_code==200:
 
105
  category = 4
106
  params = {'openId':OpenId, 'apiKey':ApiKey, 'infId':infId,
107
  'denoise_steps':int(denoise_steps), 'auto_mask':1, 'auto_crop':1,
108
+ 'category':category, 'caption':caption, 'notifyUrl':''}
109
  session = requests.session()
110
  ret = requests.post(f"{ApiUrl}/api/inf/public_fastinf", data=json.dumps(params))
111
  if ret.status_code==200: