-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
28 lines (21 loc) · 803 Bytes
/
Copy pathrequirements.txt
File metadata and controls
28 lines (21 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--extra-index-url https://download.pytorch.org/whl/cpu
# CPU-only torch; 2.5.0 is the earliest with Python 3.13 wheels
torch>=2.5.0,<2.13
# Core retrieval stack
sentence-transformers>=3.0.0,<6.0
transformers>=4.40.0,<5.0
faiss-cpu>=1.8.0
bm25s>=0.2.0
# Data
pandas>=2.0.0,<3.0
pyarrow>=15.0.0
numpy>=1.24.0,<2.0
# UI — pinned to match the sdk_version in README YAML frontmatter
gradio==4.44.0
# Starlette 1.0 changed TemplateResponse signature; Gradio 4.44 still uses the old API.
starlette<1.0
# Pydantic 2.11+ emits boolean values for some JSON schema fields, which crashes
# gradio_client 1.3's schema parser. Pin to 2.10.x until we bump Gradio.
pydantic>=2.10.0,<2.11
# Python 3.13 removed the stdlib audioop module which pydub (Gradio dep) needs.
audioop-lts<1.0; python_version >= "3.13"