Spaces:
Sleeping
Sleeping
Mimi
commited on
Commit
·
77f3eaf
1
Parent(s):
efdee19
fixed python build version because im tired of living on the edge all the time
Browse files- Dockerfile +3 -2
- README.md +3 -0
- requirements.txt +2 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:
|
| 2 |
|
| 3 |
# Add user
|
| 4 |
RUN useradd -m -u 1000 user
|
|
@@ -9,7 +9,8 @@ ENV HOME=/home/user \
|
|
| 9 |
WORKDIR $HOME/app
|
| 10 |
COPY --chown=user . $HOME/app
|
| 11 |
# Install system dependencies and requirements
|
| 12 |
-
RUN pip install --no-cache-dir -r $HOME/app/requirements.txt
|
|
|
|
| 13 |
|
| 14 |
EXPOSE 7860
|
| 15 |
CMD streamlit run app.py \
|
|
|
|
| 1 |
+
FROM python:3.12
|
| 2 |
|
| 3 |
# Add user
|
| 4 |
RUN useradd -m -u 1000 user
|
|
|
|
| 9 |
WORKDIR $HOME/app
|
| 10 |
COPY --chown=user . $HOME/app
|
| 11 |
# Install system dependencies and requirements
|
| 12 |
+
RUN pip install --no-cache-dir -r $HOME/app/requirements.txt &&\
|
| 13 |
+
huggingface-cli login --token $HF_TOKEN --add-to-git-credential
|
| 14 |
|
| 15 |
EXPOSE 7860
|
| 16 |
CMD streamlit run app.py \
|
README.md
CHANGED
|
@@ -20,4 +20,7 @@ preload_from_hub:
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# Interviewer Naomi
|
| 24 |
+
|
| 25 |
+
Naomi conducts interviews like your HR department.
|
| 26 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ transformers
|
|
| 4 |
accelerate
|
| 5 |
llama-cpp-python
|
| 6 |
langchain-core
|
| 7 |
-
datasets
|
|
|
|
|
|
| 4 |
accelerate
|
| 5 |
llama-cpp-python
|
| 6 |
langchain-core
|
| 7 |
+
datasets
|
| 8 |
+
huggingface_hub[cli]
|