MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS-Nano / __init__

Method __init__

app.py:417–419  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

415
416class StreamingJobManager:
417 def __init__(self) -> None:
418 self._lock = threading.Lock()
419 self._jobs: dict[str, StreamingJob] = {}
420
421 def create(self) -> StreamingJob:
422 stream_id = f"stream-{int(time.time() * 1000)}-{uuid.uuid4().hex[:8]}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected