MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / initialize_services

Method initialize_services

lightx2v/server/api/server.py:159–162  ·  view source on GitHub ↗
(self, cache_dir: Path, inference_service: DistributedInferenceService)

Source from the content-addressed store, hash-verified

157 async def cleanup(self):
158 self.stop_processing.set()
159 if self.processing_thread and self.processing_thread.is_alive():
160 self.processing_thread.join(timeout=5)
161
162 services = get_services()
163 if services.file_service:
164 await services.file_service.cleanup()
165

Callers 1

run_serverFunction · 0.95

Calls 3

get_instanceMethod · 0.80
initializeMethod · 0.45

Tested by

no test coverage detected