albertvillanova HF staff commited on
Commit
39ff146
1 Parent(s): 148216f

Support loading LFS Details files

Browse files
Files changed (1) hide show
  1. src/hub.py +1 -1
src/hub.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import hf_hub_url
6
  from huggingface_hub.utils import build_hf_headers
7
 
8
 
9
- client = httpx.AsyncClient()
10
 
11
 
12
  async def load_file(path):
 
6
  from huggingface_hub.utils import build_hf_headers
7
 
8
 
9
+ client = httpx.AsyncClient(follow_redirects=True)
10
 
11
 
12
  async def load_file(path):