update
This commit is contained in:
parent
b4ad677240
commit
4410d7a0a0
text_to_video_playground
|
@ -2,6 +2,11 @@
|
|||
|
||||
FROM public.ecr.aws/iflytek-open/cuda-go-python-base:11.6-1.17-3.9.13-ubuntu1804
|
||||
|
||||
RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list
|
||||
RUN sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||
|
||||
RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
WORKDIR /home/user/app
|
||||
RUN useradd -m -u 1000 user
|
||||
|
|
|
@ -63,4 +63,4 @@ with gr.Blocks(css='style.css') as demo:
|
|||
prompt.submit(fn=generate, inputs=inputs, outputs=result)
|
||||
run_button.click(fn=generate, inputs=inputs, outputs=result)
|
||||
|
||||
demo.queue(api_open=False, max_size=15).launch()
|
||||
demo.queue(api_open=False, max_size=15).launch()
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libgl1-mesa-glx
|
Loading…
Reference in New Issue