fix(settings): 补齐CUDA运行组件下载与安装入口

This commit is contained in:
2026-09-05 01:25:43 +08:00
parent 64f63ff1bd
commit c912409343
11 changed files with 284 additions and 3 deletions
+2
View File
@@ -26,6 +26,8 @@ async def lifespan(_: FastAPI):
yield
finally:
await transcription_service.shutdown()
from app.local_models import components
await components.shutdown()
from app.local_models import manager
for _, key in list(manager._downloads):
await manager.cancel_download(key)