Spaces:
Build error
Build error
Danil Shakalov commited on
Commit ·
eb80cbf
1
Parent(s): 43a82b2
fixing some problems
Browse files22 unmodified lines23242526272822 unmodified linesRUN chmod -R 777 /app/model.bin# 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".# Updating pip and installing everything from requirementsRUN python3 -m pip install -U pip setuptools wheelRUN pip install --upgrade -r /app/requirements.txt22 unmodified lines23242526272829303132333422 unmodified linesRUN chmod -R 777 /app/model.bin# 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".# Fixing warnings from Transformers and MatplotlibRUN mkdir -p /.cache/huggingface/hub -m 777RUN mkdir -p /.config/matplotlib -m 777RUN chmod -R 777 /.cacheRUN chmod -R 777 /.config# Updating pip and installing everything from requirementsRUN python3 -m pip install -U pip setuptools wheelRUN pip install --upgrade -r /app/requirements.txt
Dockerfile+6