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

This commit is contained in:
2026-09-05 01:25:43 +08:00
parent cbc3b3ae8d
commit 4441c54d4d
8 changed files with 272 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)