# --------------------------------------------------------------------------- # 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