Spaces:
Running
Running
fix: slim requirements.txt for HF Spaces (remove C-dep heavy packages)
Browse files- README.md +1 -0
- requirements.txt +12 -15
- requirements_space.txt +33 -0
README.md
CHANGED
|
@@ -8,6 +8,7 @@ sdk_version: "5.50.0"
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# DealFlow AI
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
extra_gated_prompt: Please provide your HF_TOKEN and SERPER_API_KEY as Space secrets.
|
| 12 |
---
|
| 13 |
|
| 14 |
# DealFlow AI
|
requirements.txt
CHANGED
|
@@ -1,22 +1,20 @@
|
|
| 1 |
-
# DealFlow AI β
|
| 2 |
-
#
|
| 3 |
|
| 4 |
-
# Core
|
| 5 |
-
crewai
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# UI
|
| 8 |
gradio>=5.0.0,<6.0.0
|
| 9 |
|
| 10 |
-
# Memory
|
| 11 |
-
mem0ai>=0.1.99
|
| 12 |
-
|
| 13 |
# LLM / Inference
|
| 14 |
-
openai>=
|
| 15 |
-
huggingface_hub>=0.27.0
|
| 16 |
|
| 17 |
-
# PDF processing
|
| 18 |
pdfplumber>=0.11.0
|
| 19 |
-
pymupdf>=1.25.0 # fitz - fast PDF extraction
|
| 20 |
|
| 21 |
# Data / analysis
|
| 22 |
pandas>=2.2.0
|
|
@@ -26,15 +24,14 @@ numpy>=1.26.0
|
|
| 26 |
# Web / search
|
| 27 |
requests>=2.32.0
|
| 28 |
beautifulsoup4>=4.13.0
|
| 29 |
-
lxml>=5.3.0
|
| 30 |
|
| 31 |
# Utils
|
| 32 |
python-dotenv>=1.0.0
|
| 33 |
pydantic>=2.10.0
|
| 34 |
-
tenacity>=9.0.0
|
| 35 |
-
rich>=13.0.0
|
| 36 |
loguru>=0.7.0
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
# Testing
|
| 39 |
pytest>=8.0.0
|
| 40 |
pytest-cov>=5.0.0
|
|
|
|
| 1 |
+
# DealFlow AI β Dependencies
|
| 2 |
+
# Compatible with HuggingFace Spaces build environment
|
| 3 |
|
| 4 |
+
# Core
|
| 5 |
+
crewai==1.14.4
|
| 6 |
+
crewai-tools==1.14.4
|
| 7 |
+
litellm>=1.60.0
|
| 8 |
|
| 9 |
# UI
|
| 10 |
gradio>=5.0.0,<6.0.0
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
# LLM / Inference
|
| 13 |
+
openai>=2.30.0,<3
|
| 14 |
+
huggingface_hub>=0.27.0
|
| 15 |
|
| 16 |
+
# PDF processing (pure python β no C deps)
|
| 17 |
pdfplumber>=0.11.0
|
|
|
|
| 18 |
|
| 19 |
# Data / analysis
|
| 20 |
pandas>=2.2.0
|
|
|
|
| 24 |
# Web / search
|
| 25 |
requests>=2.32.0
|
| 26 |
beautifulsoup4>=4.13.0
|
|
|
|
| 27 |
|
| 28 |
# Utils
|
| 29 |
python-dotenv>=1.0.0
|
| 30 |
pydantic>=2.10.0
|
|
|
|
|
|
|
| 31 |
loguru>=0.7.0
|
| 32 |
+
rich>=13.0.0
|
| 33 |
+
tenacity>=9.0.0
|
| 34 |
|
| 35 |
+
# Testing (local only)
|
| 36 |
pytest>=8.0.0
|
| 37 |
pytest-cov>=5.0.0
|
requirements_space.txt
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DealFlow AI β HuggingFace Space requirements
|
| 2 |
+
# Slimmed to avoid C-extension failures in HF Spaces build environment
|
| 3 |
+
|
| 4 |
+
# Core
|
| 5 |
+
crewai==1.14.4
|
| 6 |
+
crewai-tools==1.14.4
|
| 7 |
+
litellm>=1.60.0
|
| 8 |
+
|
| 9 |
+
# UI (Gradio pre-installed in HF Spaces β listed for local use)
|
| 10 |
+
gradio>=5.0.0,<6.0.0
|
| 11 |
+
|
| 12 |
+
# LLM / Inference
|
| 13 |
+
openai>=2.30.0,<3
|
| 14 |
+
huggingface_hub>=0.27.0
|
| 15 |
+
|
| 16 |
+
# PDF processing (pdfplumber β pure python, no C deps)
|
| 17 |
+
pdfplumber>=0.11.0
|
| 18 |
+
|
| 19 |
+
# Data / analysis
|
| 20 |
+
pandas>=2.2.0
|
| 21 |
+
matplotlib>=3.9.0
|
| 22 |
+
numpy>=1.26.0
|
| 23 |
+
|
| 24 |
+
# Web / search
|
| 25 |
+
requests>=2.32.0
|
| 26 |
+
beautifulsoup4>=4.13.0
|
| 27 |
+
|
| 28 |
+
# Utils
|
| 29 |
+
python-dotenv>=1.0.0
|
| 30 |
+
pydantic>=2.10.0
|
| 31 |
+
loguru>=0.7.0
|
| 32 |
+
rich>=13.0.0
|
| 33 |
+
tenacity>=9.0.0
|