DimasMP3's picture
Upload folder using huggingface_hub
5c69097 verified
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
# set to true if your model requires a GPU
gpu: true
# a list of ubuntu apt packages to install
system_packages:
- "libgl1-mesa-glx"
- "ffmpeg"
# - "libglib2.0-0"
# python version in the form '3.11' or '3.11.4'
python_version: "3.8"
# a list of packages in the format <package-name>==<version>
python_packages:
- "torch>=1.6.0"
- "torchaudio>=0.6.0"
- "numpy"
- "scipy"
- "scikit-learn"
- "tqdm"
- "scenedetect"
- "opencv-python"
- "python_speech_features"
- "torchvision"
- "ffmpeg"
- "gdown"
- "youtube-dl"
- "pandas"
# commands run after the environment is setup
# run:
# - "echo env is ready!"
# - "echo another command if needed"
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"