Ping Long commited on
Commit
063176e
·
1 Parent(s): 14cef91

fix: remove unused gradio from HF requirements, restore pydantic 2.12.0

Browse files

gradio is not used by the FastAPI backend (app.py). Removing it
eliminates the unsolvable pydantic version conflict:
gradio 5.49.1 requires pydantic<2.12
vllm 0.19.0 requires pydantic>=2.12.0

Files changed (2) hide show
  1. backend/requirements.txt +1 -1
  2. requirements.txt +1 -2
backend/requirements.txt CHANGED
@@ -9,7 +9,7 @@ soundfile==0.12.1
9
  librosa==0.10.2
10
  httpx==0.28.1
11
  mistral_common==1.11.0
12
- pydantic==2.11.5
13
  pydantic-settings==2.7.0
14
  starlette==0.49.1
15
  qwen-asr==0.0.6
 
9
  librosa==0.10.2
10
  httpx==0.28.1
11
  mistral_common==1.11.0
12
+ pydantic==2.12.0
13
  pydantic-settings==2.7.0
14
  starlette==0.49.1
15
  qwen-asr==0.0.6
requirements.txt CHANGED
@@ -1,7 +1,6 @@
1
  fastapi==0.120.4
2
  uvicorn[standard]==0.32.1
3
  python-multipart==0.0.22
4
- gradio==5.49.1
5
 
6
  # ASR + inference runtime
7
  vllm==0.19.0
@@ -18,6 +17,6 @@ librosa==0.10.2
18
  # API/runtime helpers
19
  httpx==0.28.1
20
  mistral_common==1.11.0
21
- pydantic==2.11.5
22
  pydantic-settings==2.7.0
23
  starlette==0.49.1
 
1
  fastapi==0.120.4
2
  uvicorn[standard]==0.32.1
3
  python-multipart==0.0.22
 
4
 
5
  # ASR + inference runtime
6
  vllm==0.19.0
 
17
  # API/runtime helpers
18
  httpx==0.28.1
19
  mistral_common==1.11.0
20
+ pydantic==2.12.0
21
  pydantic-settings==2.7.0
22
  starlette==0.49.1