Spaces:
Configuration error
Configuration error
Commit
·
81e8e6a
1
Parent(s):
9fec85a
- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -34,8 +34,8 @@ WORKDIR ${HOME}/app
|
|
34 |
COPY --chown=user:user requirements.txt /tmp/requirements.txt
|
35 |
RUN conda run -n videograin pip install --no-cache-dir -r /tmp/requirements.txt
|
36 |
|
37 |
-
# 强制安装指定版本的 huggingface-hub 和 gradio
|
38 |
-
RUN conda run -n videograin pip install --no-cache-dir huggingface-hub==0.17.3 gradio==3.44.4
|
39 |
|
40 |
# 复制应用代码
|
41 |
COPY --chown=user:user . ${HOME}/app
|
|
|
34 |
COPY --chown=user:user requirements.txt /tmp/requirements.txt
|
35 |
RUN conda run -n videograin pip install --no-cache-dir -r /tmp/requirements.txt
|
36 |
|
37 |
+
# 强制安装指定版本的 huggingface-hub 和 gradio[oauth](同时安装 uvicorn 和 spaces)
|
38 |
+
RUN conda run -n videograin pip install --no-cache-dir huggingface-hub==0.17.3 gradio[oauth]==3.44.4 "uvicorn>=0.14.0" spaces==0.32.0
|
39 |
|
40 |
# 复制应用代码
|
41 |
COPY --chown=user:user . ${HOME}/app
|