Pin Applio 3.6.5 and verified basis assets, migrate private voice provenance, and coordinate conversion/live/training with Deck GPU leases. Prepare an inactive voice profile and a restricted studio container. Move CUDA and Torch caches out of the small temporary filesystem to prevent OmniVoice reference failures. Package app updates from the explicit allowlist in one Docker layer.
16 lines
431 B
Python
16 lines
431 B
Python
"""Runner factory for the real Applio service."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .base import Runner
|
|
from .real_runner import get_real_runner
|
|
|
|
|
|
def get_runner() -> Runner:
|
|
"""Return the real runner. Production jobs are never simulated."""
|
|
import os
|
|
if os.environ.get("APPLIO_LEASE_SOCKET"):
|
|
from .native_runner import get_native_runner
|
|
return get_native_runner()
|
|
return get_real_runner()
|