mayuema commited on
Commit
785caf6
1 Parent(s): 7a54de6
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -52,7 +52,7 @@ RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
52
  COPY --chown=1000 . ${HOME}/app
53
  RUN ls -a
54
  # RUN cd ./FateZero/ckpt && bash download.sh
55
- RUN cd ./FollowYourPose/data && bash download.sh
56
  ENV PYTHONPATH=${HOME}/app \
57
  PYTHONUNBUFFERED=1 \
58
  GRADIO_ALLOW_FLAGGING=never \
 
52
  COPY --chown=1000 . ${HOME}/app
53
  RUN ls -a
54
  # RUN cd ./FateZero/ckpt && bash download.sh
55
+ RUN cd {WORKDIR}/data && bash download.sh
56
  ENV PYTHONPATH=${HOME}/app \
57
  PYTHONUNBUFFERED=1 \
58
  GRADIO_ALLOW_FLAGGING=never \
app.py CHANGED
@@ -13,7 +13,7 @@ sys.path.append('FollowYourPose')
13
 
14
  current_dir = os.getcwd()
15
  print("path is :", current_dir)
16
- print("dir i :", os.listdir(current_dir))
17
 
18
  HF_TOKEN = os.getenv('HF_TOKEN')
19
  pipe = merge_config_then_run()
 
13
 
14
  current_dir = os.getcwd()
15
  print("path is :", current_dir)
16
+ print("dir i :", os.listdir(os.path.join(current_dir,'data'))
17
 
18
  HF_TOKEN = os.getenv('HF_TOKEN')
19
  pipe = merge_config_then_run()