Spaces:
Running
Running
selfitcamera
commited on
Commit
β’
ef3b103
1
Parent(s):
417b9e3
update
Browse files
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:
|