Tyycha commited on
Commit
10c889a
·
1 Parent(s): cc2ed2f

fix(deps): add fastapi and uvicorn to requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +22 -4
requirements.txt CHANGED
@@ -1,16 +1,34 @@
 
 
 
 
 
 
 
 
 
 
1
  streamlit>=1.35.0
 
 
 
 
 
 
 
 
2
  torch>=2.3.0
3
  transformers>=4.44.0
4
  accelerate>=0.33.0
5
  peft>=0.12.0
6
- pydantic>=2.7.0
7
- pydantic-settings>=2.4.0
8
- sqlglot>=25.0.0
9
- pandas>=2.2.0
10
  python-dotenv>=1.0.0
11
  huggingface_hub>=1.0.0
12
  pyyaml>=6.0
13
  tqdm>=4.66.0
14
  httpx>=0.27.0
 
 
15
  psycopg2-binary>=2.9.0
16
  pymysql>=1.1.0
 
1
+ # Runtime-зависимости Ru2SQL. Используются Dockerfile (HF Spaces)
2
+ # и любым окружением без uv. Должны быть в синхронизации с pyproject.toml.
3
+
4
+ # API
5
+ fastapi>=0.115.0
6
+ uvicorn[standard]>=0.30.0
7
+ pydantic>=2.7.0
8
+ pydantic-settings>=2.4.0
9
+
10
+ # UI
11
  streamlit>=1.35.0
12
+
13
+ # SQL parsing / validation
14
+ sqlglot>=25.0.0
15
+
16
+ # Data
17
+ pandas>=2.2.0
18
+
19
+ # ML inference
20
  torch>=2.3.0
21
  transformers>=4.44.0
22
  accelerate>=0.33.0
23
  peft>=0.12.0
24
+
25
+ # Misc
 
 
26
  python-dotenv>=1.0.0
27
  huggingface_hub>=1.0.0
28
  pyyaml>=6.0
29
  tqdm>=4.66.0
30
  httpx>=0.27.0
31
+
32
+ # Опциональные коннекторы к боевым БД
33
  psycopg2-binary>=2.9.0
34
  pymysql>=1.1.0