Eli Safra commited on
Commit
a4e2104
·
1 Parent(s): 938949f

Slim requirements: remove torch/chronos/streamlit for API build

Browse files
Files changed (2) hide show
  1. backend/requirements.txt +2 -2
  2. requirements.txt +6 -14
backend/requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
- # Backend-specific dependencies (on top of root requirements.txt)
2
  fastapi>=0.115.0
3
  uvicorn[standard]>=0.34.0
4
  pydantic>=2.0
5
  slowapi>=0.2.0
6
  PyJWT>=2.8.0
7
- sentry-sdk[fastapi]>=2.0 # optional: set SENTRY_DSN to enable
 
1
+ # Backend-specific dependencies
2
  fastapi>=0.115.0
3
  uvicorn[standard]>=0.34.0
4
  pydantic>=2.0
5
  slowapi>=0.2.0
6
  PyJWT>=2.8.0
7
+ sentry-sdk[fastapi]>=2.0
requirements.txt CHANGED
@@ -1,18 +1,10 @@
1
- # Photosynthesis Prediction Model - dependencies
2
- # Install: pip install -r requirements.txt
3
-
4
- pandas==2.3.3
5
- numpy==2.4.2
6
- scikit-learn==1.8.0
7
- matplotlib==3.10.8
8
- seaborn==0.13.2
9
- requests==2.32.5
10
- python-dotenv==1.2.1
11
- streamlit==1.54.0
12
- plotly==6.5.2
13
  xgboost>=2.0
14
  pvlib>=0.10.0
15
  astral>=3.2
16
- chronos-forecasting>=2.0
17
- torch>=2.0
18
  google-genai>=1.0
 
1
+ # API-only dependencies (slim no torch/chronos/streamlit)
2
+ pandas>=2.0
3
+ numpy>=1.26
4
+ scikit-learn>=1.3
5
+ requests>=2.31
6
+ python-dotenv>=1.0
 
 
 
 
 
 
7
  xgboost>=2.0
8
  pvlib>=0.10.0
9
  astral>=3.2
 
 
10
  google-genai>=1.0