Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions utils/fetch_latest_release_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import requests
from packaging.version import parse

from ..src.diffusers.utils.constants import DIFFUSERS_REQUEST_TIMEOUT


# GitHub repository details
USER = "huggingface"
Expand All @@ -33,7 +31,7 @@ def fetch_all_branches(user, repo):
response = requests.get(
f"https://api.github.com/repos/{user}/{repo}/branches",
params={"page": page},
timeout=DIFFUSERS_REQUEST_TIMEOUT,
timeout=60,
)

# Check if the request was successful
Expand Down
Loading