-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequirements.txt
More file actions
29 lines (27 loc) · 965 Bytes
/
Copy pathrequirements.txt
File metadata and controls
29 lines (27 loc) · 965 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
29
# Production runtime requirements (Hugging Face Spaces / Docker).
# Version ranges aligned with the dependency tree used by ``lightweight-embeddings``
# so Gradio, FastAPI, Starlette, Pydantic and Jinja2 all interop cleanly on
# Spaces. Keep in sync with ``[tool.poetry.dependencies]`` in pyproject.toml.
fastapi>=0.115,<0.120
uvicorn[standard]>=0.30,<0.40
pydantic>=2.7,<3.0
pydantic-settings>=2.4,<3.0
orjson>=3.10,<4.0
python-multipart>=0.0.9
httpx[http2]>=0.27,<0.30
openai>=1.40,<2.0
tiktoken>=0.7,<1.0
markitdown==0.0.1a3
selectolax>=0.3.21
python-magic==0.4.27
upstash-redis>=1.2,<2.0
cachetools>=5.3,<6.0
psutil>=5.9,<8.0
Pillow>=10.3,<12.0
requests>=2.31,<3.0
# Optional UI extras.
# Gradio 5.x is required for compatibility with modern Starlette templating;
# Gradio 4.x calls ``TemplateResponse`` with a deprecated signature that raises
# ``TypeError: unhashable type: 'dict'`` in Jinja2 on recent Starlette releases.
gradio>=5.0,<6.0
pandas>=2.0,<3.0