XiangpengYang commited on
Commit
fdab143
·
1 Parent(s): 1586024
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -35,7 +35,7 @@ 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.24.7 gradio[oauth]==3.44.4 "uvicorn>=0.14.0" spaces==0.32.0
39
 
40
  # 复制应用代码
41
  COPY --chown=user:user . ${HOME}/app
 
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
requirements.txt CHANGED
@@ -66,5 +66,5 @@ timm==0.6.7
66
  scikit-image==0.24.0
67
  gdown==5.1.0
68
  basicsr-fixed
69
- huggingface_hub==0.24.7
70
  gradio==3.44.4
 
66
  scikit-image==0.24.0
67
  gdown==5.1.0
68
  basicsr-fixed
69
+ huggingface-hub==0.17.3
70
  gradio==3.44.4