Spaces:
Paused
Paused
READMEに`preload_from_hub`の設定を追加し、`requirements.txt`の依存関係をバージョン指定なしに変更し、互換性のための追加依存関係を追加
Browse files- README_hf_space.md +2 -0
- packages.txt +2 -0
- pre-requirements.txt +5 -0
- 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
|
| 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 |
-
# 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
|
| 34 |
|
| 35 |
# Utilities
|
| 36 |
-
tqdm
|
| 37 |
-
requests
|
| 38 |
-
pyyaml
|
| 39 |
-
joblib
|
| 40 |
-
cython
|
| 41 |
|
| 42 |
-
#
|
| 43 |
-
|
| 44 |
-
|
| 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
|
|
|
|
|
|