Spaces:
Build error
Build error
Create requirements.txt
Browse files- requirements.txt +47 -0
requirements.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core dependencies
|
| 2 |
+
streamlit>=1.43.0
|
| 3 |
+
langchain>=0.1.0
|
| 4 |
+
langchain-community>=0.0.13
|
| 5 |
+
langchain-groq>=0.1.0
|
| 6 |
+
python-dotenv>=1.0.0
|
| 7 |
+
|
| 8 |
+
# API Clients
|
| 9 |
+
serpapi-python>=0.1.0
|
| 10 |
+
tavily-python>=0.2.0
|
| 11 |
+
|
| 12 |
+
# Document processing
|
| 13 |
+
PyPDF2>=3.0.0 # For PDF processing in Streamlit app
|
| 14 |
+
python-docx>=0.8.11 # For DOCX processing
|
| 15 |
+
pillow>=10.0.0 # For image handling
|
| 16 |
+
fpdf>=1.7.2 # For PDF generation in Streamlit app
|
| 17 |
+
|
| 18 |
+
# Additional dependencies for Streamlit app
|
| 19 |
+
markdown>=3.4.0
|
| 20 |
+
pygments>=2.15.0
|
| 21 |
+
|
| 22 |
+
# Optional dependencies (commented out to reduce deployment size)
|
| 23 |
+
# PyMuPDF>=1.23.0 # Alternative PDF processing
|
| 24 |
+
# weasyprint>=60.0 # Alternative PDF generation
|
| 25 |
+
# reportlab>=4.0.0 # Alternative PDF generation
|
| 26 |
+
# pytesseract>=0.3.10 # For OCR capabilities
|
| 27 |
+
|
| 28 |
+
# Hugging Face specific requirements
|
| 29 |
+
protobuf>=3.20.0
|
| 30 |
+
pyarrow>=10.0.0
|
| 31 |
+
fpdf2>=2.7.0 # Simple PDF generation
|
| 32 |
+
markdown-pdf>=0.0.7 # Optional PDF from markdown
|
| 33 |
+
|
| 34 |
+
# Output formatting
|
| 35 |
+
markdown>=3.5 # For markdown processing
|
| 36 |
+
pygments>=2.16.0 # For code syntax highlighting
|
| 37 |
+
|
| 38 |
+
# Language models (at least one required)
|
| 39 |
+
langchain-groq>=0.1.0 # Free tier available
|
| 40 |
+
langchain-ollama>=0.0.1 # Free, runs locally
|
| 41 |
+
|
| 42 |
+
# Optional but recommended LLMs
|
| 43 |
+
langchain-openai>=0.0.2 # If using OpenAI (not free)
|
| 44 |
+
langchain-anthropic>=0.1.1 # If using Anthropic (not free)
|
| 45 |
+
|
| 46 |
+
# Search tools (optional)
|
| 47 |
+
tavily-python>=0.2.0 # Free tier available
|