Spaces:
Runtime error
Runtime error
wenmeng.zwm
update space to support I2VGEN-XL https://modelscope.cn/studios/damo/I2VGen-XL/summary
60931f6 Download Dockerfile from modelscope/I2VGen-XL: direct link, hf CLI and curl.
- Browser
- Download file 733 Bytes
-
https://huggingface.co/spaces/modelscope/I2VGen-XL/resolve/refs%2Fpr%2F2/Dockerfile
- Command line
-
hf download hf://spaces/modelscope/I2VGen-XL@refs/pr/2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/modelscope/I2VGen-XL/resolve/refs%2Fpr%2F2/Dockerfile
733 Bytes
| FROM registry.cn-beijing.aliyuncs.com/modelscope-repo/modelscope:ubuntu22.04-cuda11.8.0-py310-torch2.1.0-tf2.14.0-1.10.0 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| #RUN apt-get update && \ | |
| # apt-get upgrade -y && \ | |
| # apt-get install -y --no-install-recommends \ | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:${PATH} | |
| WORKDIR ${HOME}/app | |
| COPY --chown=1000 ./requirements.txt /tmp/requirements.txt | |
| RUN pip install -r /tmp/requirements.txt | |
| COPY --chown=1000 . ${HOME}/app | |
| ENV PYTHONPATH=${HOME}/app \ | |
| PYTHONUNBUFFERED=1 \ | |
| GRADIO_ALLOW_FLAGGING=never \ | |
| GRADIO_NUM_PORTS=1 \ | |
| GRADIO_SERVER_NAME=0.0.0.0 \ | |
| GRADIO_THEME=huggingface \ | |
| SYSTEM=spaces | |
| CMD ["python", "app.py"] | |