attribution-graph-probing / requirements.txt
peppinob-ol
Initial deployment: Attribution Graph Probing app
cb8a7e5
raw
history blame
746 Bytes
# Hugging Face Spaces - Optimized Requirements
# Core dependencies for Streamlit app
# === STREAMLIT & VISUALIZATION ===
streamlit>=1.28.0,<2.0.0
plotly>=5.17.0,<6.0.0
pandas>=2.0.0,<3.0.0
numpy>=1.24.0,<2.0.0
# === PLOTTING ===
matplotlib>=3.7.0,<4.0.0
seaborn>=0.12.0,<1.0.0
# === API CLIENTS ===
requests>=2.31.0
openai>=1.0.0,<2.0.0
python-dotenv>=1.0.0
# === PYTORCH (CPU only for HF Spaces) ===
# Note: torch is needed for loading .pt files but not for GPU inference
# Using CPU-only version to reduce image size
torch>=2.0.0,<3.0.0; platform_system != "Darwin"
torch>=2.0.0,<3.0.0; platform_system == "Darwin"
# === UTILITIES ===
# These are optional but useful for some features
scipy>=1.10.0 # For statistical tests in validation