-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcog.yaml
37 lines (30 loc) · 1019 Bytes
/
cog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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:
- "ffmpeg"
# python version in the form '3.11' or '3.11.4'
python_version: "3.11"
# a list of packages in the format <package-name>==<version>
# python_packages:
python_packages:
- "aiohttp==3.9.1"
- "datasets==2.15.0"
- "ffmpeg-python==0.2.0"
- "gradio==3.35.2"
- "librosa==0.10.1"
- "python-dotenv==1.0.0"
- "torch==2.0.1"
- "transformers==4.35.2"
# 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"
# The name given to built Docker images.
# If you want to push to a registry, this should also include the registry name.
image: "r8.im/jd7h/edit-video-by-editing-text"