Skip to content

Lazy-load heavy TTS dependencies #2

@StressTestor

Description

@StressTestor

Move imports (torch, edge_tts, google-cloud-texttospeech) inside call sites to avoid import-time failures and speed up startup. Acceptance: modules import without optional deps; faster startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.xCurrent seriesarchitectureArchitecture/designperformancePerformance and startuptestsTesting and CIttsText-to-Speech

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions