diff --git a/dialogue_download_change.py b/dialogue_download_change.py index 2a242d5..dd9f438 100644 --- a/dialogue_download_change.py +++ b/dialogue_download_change.py @@ -165,7 +165,7 @@ def upload_image_to_lsky_pro(image_path, retries=3, timeout=30): pass except requests.exceptions.RequestException as e: print(f"上传失败,重试 {attempt + 1}/{retries}: {str(e)}") - time.sleep(3) # 重试前等待3秒 + time.sleep(10) # 重试前等待3秒 return None