Princeaka commited on
Commit
6093407
·
verified ·
1 Parent(s): 028b31f

Update .huggingface.yml

Browse files
Files changed (1) hide show
  1. .huggingface.yml +8 -5
.huggingface.yml CHANGED
@@ -1,9 +1,12 @@
1
  build:
2
  commands:
 
3
  - apt-get update
4
- - apt-get install -y ffmpeg libsm6 libxext6
5
- - ln -s /usr/bin/ffmpeg /usr/local/bin/ffmpeg
 
 
6
  - python -m pip install --upgrade pip
7
- - pip install imageio==2.31.1 imageio-ffmpeg==0.4.8
8
- - pip install moviepy==1.0.3 --no-deps
9
- - pip install -r requirements.txt
 
1
  build:
2
  commands:
3
+ # 1. Install system dependencies
4
  - apt-get update
5
+ - apt-get install -y ffmpeg libsm6 libxext6 libgl1 libsndfile1
6
+ - ln -s /usr/bin/ffmpeg /usr/bin/ffmpeg # Force path resolution
7
+
8
+ # 2. Set up Python environment
9
  - python -m pip install --upgrade pip
10
+ - pip install imageio==2.31.1 imageio-ffmpeg==0.4.8 --no-cache-dir
11
+ - pip install moviepy==1.0.3 --no-deps --no-cache-dir
12
+ - pip install -r requirements.txt --no-cache-dir