diff --git a/fastembed/common/model_management.py b/fastembed/common/model_management.py index 854f76b7..35e68236 100644 --- a/fastembed/common/model_management.py +++ b/fastembed/common/model_management.py @@ -99,7 +99,7 @@ def download_file_from_gcs(cls, url: str, output_path: str, show_progress: bool if os.path.exists(output_path): return output_path - response = requests.get(url, stream=True) + response = requests.get(url, stream=True, timeout=(10, 120)) # Handle HTTP errors if response.status_code == 403: