This commit is contained in:
2025-09-03 16:44:50 +08:00
parent 4869ad9d44
commit 043233984a
3 changed files with 3 additions and 23 deletions

View File

@@ -114,7 +114,7 @@ class LibLibUtil:
print(f"生图任务超时({max_wait_time}秒)")
return None
def download_and_upload_to_obs(image_url, generate_uuid):
def download_and_upload_to_obs(slef,image_url, generate_uuid):
"""下载图片并上传到OBS"""
try:
# 1. 清理URL去除可能的引号和空格