Spaces:
Running
Running
File size: 482 Bytes
efe917e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """Ejecuta el bootstrap local y deja su resultado visible para soporte."""
from __future__ import annotations
import json
from lexia.setup.service import get_service
def main() -> None:
service = get_service()
print(json.dumps(service.start(), ensure_ascii=False), flush=True)
worker = service._worker
if worker is not None:
worker.join()
print(json.dumps(service.progress(), ensure_ascii=False), flush=True)
if __name__ == "__main__":
main()
|