Spaces:
Running
Running
imperialwool
commited on
Commit
·
eb80cbf
1
Parent(s):
43a82b2
fixing some problems
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -23,6 +23,12 @@ ADD https://huggingface.co/TheBloke/WizardLM-1.0-Uncensored-Llama2-13B-GGUF/reso
|
|
23 |
RUN chmod -R 777 /app/model.bin
|
24 |
# You can use other models! Or u can comment this two RUNs and include in Space/repo/Docker image own model with name "model.bin".
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Updating pip and installing everything from requirements
|
27 |
RUN python3 -m pip install -U pip setuptools wheel
|
28 |
RUN pip install --upgrade -r /app/requirements.txt
|
|
|
23 |
RUN chmod -R 777 /app/model.bin
|
24 |
# You can use other models! Or u can comment this two RUNs and include in Space/repo/Docker image own model with name "model.bin".
|
25 |
|
26 |
+
# Fixing warnings from Transformers and Matplotlib
|
27 |
+
RUN mkdir -p /.cache/huggingface/hub -m 777
|
28 |
+
RUN mkdir -p /.config/matplotlib -m 777
|
29 |
+
RUN chmod -R 777 /.cache
|
30 |
+
RUN chmod -R 777 /.config
|
31 |
+
|
32 |
# Updating pip and installing everything from requirements
|
33 |
RUN python3 -m pip install -U pip setuptools wheel
|
34 |
RUN pip install --upgrade -r /app/requirements.txt
|