Reuse component downloads and assignments for YuE2 music profiles

This commit is contained in:
Mikei386
2026-09-30 21:21:04 +02:00
parent d700c68394
commit b731811482
5 changed files with 53 additions and 6 deletions
+1
View File
@@ -117,6 +117,7 @@ class Server(ThreadingHTTPServer):
from ltx_original_runtime import LTXOriginalRuntime
from audio_cpp_runtime import AudioCppRuntime
self.audio_cpp_runtime=AudioCppRuntime(self.catalog.root.parent/'audio-cpp-runtime')
self.profiles.music_runtime_ready=lambda:self.audio_cpp_runtime.status()['installed']
self.ltx_original_runtime=LTXOriginalRuntime(self.catalog.root.parent/'ltx-original-runtime',self.image_runtime)
self.video=VideoRuntimes(self.scheduler,stop_gpu_work,self.docker,self.catalog.root.parent/'video',self.catalog,self.profiles,self.image_runtime,original_runtime=self.ltx_original_runtime)
self.endpoint.video=self.video