Refactor LoRA management with improved caching and route handling

This commit is contained in:
Will Miao
2025-02-03 21:23:49 +08:00
parent 3fa6c9e3a3
commit 12cdadb583
5 changed files with 138 additions and 118 deletions

View File

@@ -24,9 +24,8 @@ class LoraManager:
# Setup feature routes
routes = LoraRoutes()
api_routes = ApiRoutes()
LoraRoutes.setup_routes(app)
routes.setup_routes(app)
ApiRoutes.setup_routes(app)
# Setup file monitoring