Skip to content

Commit 9cb1264

Browse files
committed
fix: CAS LFS pulling from hf: /home/runner/work/xet-core/xet-core/cas_client/src/http_client.rs:227 error
1 parent 19a08d8 commit 9cb1264

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

agentic_rag/pdf_processor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import warnings
99
import transformers
1010
import uuid # Add at the top with other imports
11+
import os
12+
os.environ['HF_HUB_DISABLE_XET'] = '1'
1113

1214
# Suppress the token length warning
1315
warnings.filterwarnings('ignore', category=UserWarning, module='transformers.generation.utils')

0 commit comments

Comments
 (0)