ClinicalTrialMatcher_HF / requirements.txt
mwmathis's picture
fix imports/reqs
6163f38 verified
Raw
History Blame Contribute Delete
618 Bytes
gradio>=4.0.0
requests>=2.31.0
# Standard library imports (no install needed):
# - re, os, logging, typing are built-in
# - typing is built-in in Python 3.5+
# LLM dependencies for AI-powered ranking
# For Hugging Face API mode (recommended for HF Spaces):
# - Only requests is needed (already above)
# - Set HUGGINGFACE_API_TOKEN environment variable in HF Spaces secrets
# - Set USE_HF_API=true in secrets
# For local model mode (optional, large packages):
# Uncomment these if you want to run models locally instead of using API:
# transformers>=4.40.0
# torch>=2.0.0
# accelerate>=0.27.0
# sentencepiece>=0.1.99