selfitcamera commited on
Commit
4035ddb
·
1 Parent(s): 12555d4
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -311,7 +311,7 @@ def submit_image_edit_task(user_image_url, prompt, task_type="80", mask_image_ur
311
  while retry_count < max_retries:
312
  try:
313
  response = requests.post(
314
- f'{UKAPIURL}/public_image_edit_v2',
315
  headers=headers,
316
  json=data,
317
  timeout=30 # 增加超时时间
 
311
  while retry_count < max_retries:
312
  try:
313
  response = requests.post(
314
+ f'{UKAPIURL}/public_image_edit_v3',
315
  headers=headers,
316
  json=data,
317
  timeout=30 # 增加超时时间