Spaces:
Sleeping
Sleeping
File size: 909 Bytes
a6b4ebc 24a2217 a01f228 24a2217 3464d92 24a2217 3464d92 24a2217 1eb1dec bc18d28 d3f29af b35fc01 99d7bc1 | 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 | version: '3.8'
services:
vits:
image: artrajz/vits-simple-api:latest-gpu
restart: always
ports:
- 23456:23456
environment:
LANG: 'C.UTF-8'
TZ: Asia/Shanghai # timezone
command: [ 'python', 'app.py' ]
# command: ["gunicorn", "-c", "gunicorn_config.py", "app:app"]
volumes:
- ./data:/app/data # model data folder
- ./config.yaml:/app/config.yaml # service configuration
- ./logs:/app/logs # logging logs
- ./gunicorn_config.py:/app/gunicorn_config.py # gunicorn configuration
- ./pyopenjtalk/open_jtalk_dic_utf_8-1.11:/usr/local/lib/python3.10/site-packages/pyopenjtalk/open_jtalk_dic_utf_8-1.11 #pyopentjalk
- ./nltk_data:/usr/local/share/nltk_data
deploy:
resources:
reservations:
devices:
- driver: nvidia
#device_ids: ['0', '3']
capabilities: [ gpu ]
|