We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d3f79a commit 7eaa082Copy full SHA for 7eaa082
2 files changed
src/runpod/serverless/modules/download.py
@@ -20,7 +20,7 @@ def download_input_objects(object_locations):
20
21
objects = []
22
for object_url in object_locations:
23
- response = requests.get(object_url)
+ response = requests.get(object_url, timeout=5)
24
25
file_name = os.path.basename(object_url)
26
file_extension = os.path.splitext(file_name)[1]
src/runpod/serverless/modules/inference.py
@@ -4,7 +4,6 @@
4
'''
5
6
import os
7
-import shutil
8
import zipfile
9
10
# -------------------------- Import Model Predictors ------------------------- #
0 commit comments