adding whisper

This commit is contained in:
matt 2024-06-09 16:38:55 +00:00
parent 455ef15359
commit 23d7e161bd

View file

@ -0,0 +1,19 @@
---
version: "2.1"
services:
whisperasr:
container_name: whisper
image: onerahmet/openai-whisper-asr-webservice:v1.4.1-gpu
environment:
- ASR_MODEL=base.en
- ASR_ENGINE=faster_whisper
ports:
- 9000:9000
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
restart: unless-stopped