Files
VoiceStudio/backend/api/routers/setup/__init__.py
T
debpalash fc76e79ff8 feat: setup wizard, donate page, CI fixes, performance optimizations, and style extraction
- Implement donate page and migrate API fetching to react-query hooks
- Add setup wizard for batch job management and voice clip editing
- Refactor setup router into package (wizard, models, download sub-modules)
- Fix 9 CI test failures from setup router refactor
- Fix cross-device link error in prefs.py atomic writes
- Fix event loop mismatch in export test fixtures
- Modernize README with architecture diagram and 13 app screenshots
- Defer per-segment disk writes in dub_generate for ~6s faster dubs
- Extract 45 inline styles from Launchpad, KeyboardCheatsheet, DubSegmentRow
- Add playwright dev dep and screenshot capture script
2026-04-26 16:47:00 +05:30

22 lines
768 B
Python

"""Setup package — modular replacement for the monolithic ``setup.py``.
Re-exports a single ``router`` that includes all three sub-routers so
``main.py`` can continue doing ``from api.routers import setup`` and
``app.include_router(setup.router)`` without changes.
"""
from __future__ import annotations
from fastapi import APIRouter
from .models import router as _models_router
from .wizard import router as _wizard_router
from .download import router as _download_router
# Re-export commonly used symbols for backward compatibility.
from .models import KNOWN_MODELS, REQUIRED_MODELS, hf_cache_dir, is_cached # noqa: F401
router = APIRouter()
router.include_router(_models_router)
router.include_router(_wizard_router)
router.include_router(_download_router)