ayushm98 Claude commited on
Commit
072ea65
·
1 Parent(s): 7754ca2

fix: update requirements.txt with complete dependencies for HF Spaces

Browse files

Add all cascade package dependencies needed for the UI to work:
- FastAPI and uvicorn for potential API integration
- Redis and Qdrant clients for caching layer
- OpenAI SDK for LLM providers
- Transformers and ML packages for routing classifier
- All UI dependencies (streamlit, plotly, pandas)

This ensures the Streamlit app can import cascade modules without
errors when deployed to Hugging Face Spaces.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +27 -3
requirements.txt CHANGED
@@ -1,6 +1,30 @@
1
- streamlit==1.31.0
 
 
2
  httpx==0.26.0
3
- plotly==5.18.0
4
- pandas==2.1.4
5
  pydantic==2.5.3
6
  pydantic-settings==2.1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core dependencies
2
+ fastapi==0.109.0
3
+ uvicorn[standard]==0.27.0
4
  httpx==0.26.0
 
 
5
  pydantic==2.5.3
6
  pydantic-settings==2.1.0
7
+ python-dotenv==1.0.0
8
+
9
+ # LLM providers
10
+ openai==1.10.0
11
+
12
+ # Caching
13
+ redis==5.0.1
14
+ qdrant-client==1.7.3
15
+
16
+ # ML and embeddings
17
+ sentence-transformers==2.2.2
18
+ transformers==4.37.2
19
+ torch==2.1.2
20
+ onnx==1.15.0
21
+ onnxruntime==1.16.3
22
+ scikit-learn==1.4.0
23
+
24
+ # UI
25
+ streamlit==1.31.0
26
+ plotly==5.18.0
27
+ pandas==2.1.4
28
+
29
+ # Monitoring
30
+ prometheus-client==0.19.0