mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
- Added `ConversionService` class to handle job queuing, processing, and cancellation. - Introduced `Job`, `JobLog`, and `JobResult` data classes to manage job details and results. - Implemented job status tracking with enums for better state management. - Created a web interface with HTML templates for job submission and monitoring. - Developed CSS styles for a modern UI layout and responsive design. - Added functionality for voice profile management in the voice mixer. - Implemented a Docker Compose configuration for GPU support. - Wrote unit tests for the conversion service to ensure job processing works as expected.
31 lines
772 B
YAML
31 lines
772 B
YAML
services:
|
|
abogen:
|
|
build:
|
|
context: .
|
|
dockerfile: abogen/Dockerfile
|
|
args:
|
|
TORCH_INDEX_URL: ${TORCH_INDEX_URL:-https://download.pytorch.org/whl/cu124}
|
|
TORCH_VERSION: ${TORCH_VERSION:-}
|
|
image: abogen-gpu:latest
|
|
ports:
|
|
- "${ABOGEN_PORT:-8000}:8000"
|
|
volumes:
|
|
- ${ABOGEN_DATA:-./data}:/data
|
|
environment:
|
|
ABOGEN_HOST: 0.0.0.0
|
|
ABOGEN_PORT: 8000
|
|
ABOGEN_UPLOAD_ROOT: /data/uploads
|
|
ABOGEN_OUTPUT_ROOT: /data/outputs
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
device_requests:
|
|
- driver: nvidia
|
|
count: -1
|
|
capabilities: [gpu]
|
|
restart: unless-stopped
|