Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files- requirements.txt +2 -1
requirements.txt
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
gradio>=4.44.0
|
| 2 |
-
llama-cpp-python>=0.3.0
|
| 3 |
huggingface_hub
|
|
|
|
|
|
|
| 4 |
# Do NOT pin `spaces` – ZeroGPU platform injects it.
|
| 5 |
# llama-cpp-python installs as CPU wheel on Spaces build (no nvcc at build time).
|
| 6 |
# The @spaces.GPU decorator still allocates a GPU; if a CUDA-enabled wheel is later used it will offload.
|
|
|
|
| 1 |
gradio>=4.44.0
|
|
|
|
| 2 |
huggingface_hub
|
| 3 |
+
llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 4 |
+
|
| 5 |
# Do NOT pin `spaces` – ZeroGPU platform injects it.
|
| 6 |
# llama-cpp-python installs as CPU wheel on Spaces build (no nvcc at build time).
|
| 7 |
# The @spaces.GPU decorator still allocates a GPU; if a CUDA-enabled wheel is later used it will offload.
|