mirror of
https://github.com/denizsafak/abogen.git
synced 2026-09-20 11:40:57 +02:00
feat: add voice resolution to domain layer, migrate WebUI imports
- Add formula_from_profile, resolve_profile_voice, resolve_voice_setting, resolve_voice_choice to domain/voice_resolution.py - Add build_voice_catalog, filter_voice_catalog to domain/voice_catalog.py - Update webui/routes/utils/voice.py to import from domain - Update webui/routes/utils/form.py and voices.py to import from domain directly - Update synthesize.py to use domain resolve_voice - Add 29 tests for voice resolution functions
This commit is contained in:
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from werkzeug.datastructures import MultiDict
|
||||
|
||||
from abogen.webui.routes.utils.form import apply_prepare_form
|
||||
from abogen.webui.routes.utils.voice import resolve_voice_setting
|
||||
from abogen.domain.voice_resolution import resolve_voice_setting
|
||||
from abogen.webui.service import PendingJob
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user