Spaces:
Running
Running
selfitcamera
commited on
Commit
·
4035ddb
1
Parent(s):
12555d4
init
Browse files
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}/
|
| 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 # 增加超时时间
|