Spaces:
Runtime error
Runtime error
Commit ·
b4a1cf2
1
Parent(s): 7d61224
Update README and requirements.txt to reflect Python version change from 3.10 to 3.11 and adjust installation instructions for llama-cpp-python to ensure compatibility with HF Spaces. Clarify build requirements for a smoother user experience.
Browse files- README.md +1 -1
- requirements.txt +1 -2
README.md
CHANGED
|
@@ -5,7 +5,7 @@ colorFrom: yellow
|
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.5.1
|
| 8 |
-
python_version: "3.
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
hf_oauth: true
|
|
|
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.5.1
|
| 8 |
+
python_version: "3.11"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
hf_oauth: true
|
requirements.txt
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
-
# HF Spaces:
|
| 2 |
-
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 3 |
gradio>=4.0.0
|
| 4 |
huggingface_hub>=0.20.0
|
| 5 |
llama-cpp-python==0.3.2
|
|
|
|
| 1 |
+
# HF Spaces: install from PyPI only so we get a glibc-compatible wheel (abetlen CPU index uses musl, which fails on HF).
|
|
|
|
| 2 |
gradio>=4.0.0
|
| 3 |
huggingface_hub>=0.20.0
|
| 4 |
llama-cpp-python==0.3.2
|