File size: 832 Bytes
5e0c7a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# ---------------------------------------------------------------------------
# Python runtime dependencies.
#
# NOTE: llama-cpp-python is intentionally NOT listed here. It is built from
# source in the Dockerfile's builder stage with explicit CMake flags tuned
# for CPU-only HF Spaces (see Dockerfile comments), then installed from the
# resulting wheel. Listing an unpinned "llama-cpp-python" here as well would
# risk pip re-resolving/reinstalling a different (source) build without
# those flags. If you need to run app.py OUTSIDE Docker (e.g. local dev),
# install it manually first:
#
#   CMAKE_ARGS="-DGGML_NATIVE=ON" pip install llama-cpp-python
#
# Then `pip install -r requirements.txt` for the rest.
# ---------------------------------------------------------------------------

gradio>=5.0,<6.0
huggingface_hub>=0.24.0