Spaces:
Paused
Paused
Jean Lima
commited on
Commit
·
6f751d0
1
Parent(s):
fab2e4e
Downgrade to Python 3.10 and use stable wheels
Browse files- Dockerfile +1 -1
- requirements.txt +2 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
USER user
|
|
|
|
| 1 |
+
FROM python:3.10
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
USER user
|
requirements.txt
CHANGED
|
@@ -2,4 +2,5 @@ fastapi==0.109.0
|
|
| 2 |
uvicorn[standard]==0.27.0
|
| 3 |
huggingface-hub>=0.25.0
|
| 4 |
python-multipart==0.0.6
|
| 5 |
-
https://github.
|
|
|
|
|
|
| 2 |
uvicorn[standard]==0.27.0
|
| 3 |
huggingface-hub>=0.25.0
|
| 4 |
python-multipart==0.0.6
|
| 5 |
+
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 6 |
+
llama-cpp-python>=0.2.90
|