oKen38461 commited on
Commit
78c995a
·
1 Parent(s): 43f5a2b

READMEに`preload_from_hub`の設定を追加し、`requirements.txt`の依存関係をバージョン指定なしに変更し、互換性のための追加依存関係を追加

Browse files
Files changed (4) hide show
  1. README_hf_space.md +2 -0
  2. packages.txt +2 -0
  3. pre-requirements.txt +5 -0
  4. requirements.txt +25 -34
README_hf_space.md CHANGED
@@ -9,6 +9,8 @@ app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  hardware: a100-large
 
 
12
  ---
13
 
14
  # DittoTalkingHead - Talking Head Generation
 
9
  pinned: false
10
  license: apache-2.0
11
  hardware: a100-large
12
+ preload_from_hub:
13
+ - digital-avatar/ditto-talkinghead
14
  ---
15
 
16
  # DittoTalkingHead - Talking Head Generation
packages.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ffmpeg
2
+ libsndfile1
pre-requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Install PyTorch with CUDA support first
2
+ --extra-index-url https://download.pytorch.org/whl/cu121
3
+ torch==2.2.0
4
+ torchvision==0.17.0
5
+ torchaudio==2.2.0
requirements.txt CHANGED
@@ -1,46 +1,37 @@
1
  # Core dependencies
2
- torch==2.5.1
3
- torchvision==0.20.1
4
- torchaudio==2.5.1
5
- numpy==2.0.1
6
- pillow==11.0.0
7
 
8
  # Audio processing
9
- librosa==0.10.2.post1
10
- soundfile==0.13.0
11
- audioread==3.0.1
12
- soxr==0.5.0.post1
13
 
14
  # Video/Image processing
15
- opencv-python-headless==4.10.0.84
16
- imageio==2.36.1
17
- imageio-ffmpeg==0.5.1
18
- scikit-image==0.25.0
19
 
20
  # Machine learning
21
- scikit-learn==1.6.0
22
- scipy==1.15.0
23
- numba==0.60.0
24
-
25
- # TensorRT (GPU acceleration)
26
- tensorrt==8.6.1
27
- tensorrt-bindings==8.6.1
28
- tensorrt-libs==8.6.1
29
- polygraphy
30
- colored
31
 
32
  # Web interface
33
- gradio==4.19.0
34
 
35
  # Utilities
36
- tqdm==4.67.1
37
- requests==2.32.3
38
- pyyaml==6.0.2
39
- joblib==1.4.2
40
- cython==3.0.11
41
 
42
- # CUDA dependencies
43
- cuda-python==12.6.2.post1
44
- nvidia-cublas-cu12==12.6.4.1
45
- nvidia-cuda-runtime-cu12==12.6.77
46
- nvidia-cudnn-cu12==9.6.0.74
 
1
  # Core dependencies
2
+ torch
3
+ torchvision
4
+ torchaudio
5
+ numpy
6
+ pillow
7
 
8
  # Audio processing
9
+ librosa
10
+ soundfile
11
+ audioread
12
+ soxr
13
 
14
  # Video/Image processing
15
+ opencv-python-headless
16
+ imageio
17
+ imageio-ffmpeg
18
+ scikit-image
19
 
20
  # Machine learning
21
+ scikit-learn
22
+ scipy
23
+ numba
 
 
 
 
 
 
 
24
 
25
  # Web interface
26
+ gradio
27
 
28
  # Utilities
29
+ tqdm
30
+ requests
31
+ pyyaml
32
+ joblib
33
+ cython
34
 
35
+ # Additional dependencies for compatibility
36
+ packaging
37
+ typing-extensions