Study-Buddy / __init__.py
Hamdy005's picture
feat(rag): implement CRAG pipeline with multi-source tools and Pydantic validation schemas
9aac652
Raw History Blame Contribute Delete
252 Bytes
import os
# Disable TensorFlow and force PyTorch backend in Hugging Face Transformers
# This prevents Keras 3 conflicts when sentence-transformers or transformers are loaded
os.environ.setdefault("USE_TF", "0")
os.environ.setdefault("USE_TORCH", "1")