1
0
Fork 0

load extras during server init

This commit is contained in:
Sean Sube 2023-03-04 23:09:56 -06:00
parent 537c67619e
commit 539d0febce
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ from torch.multiprocessing import set_start_method
from .server.api import register_api_routes
from .server.load import (
get_available_platforms,
load_extras,
load_models,
load_params,
load_platforms,
@ -33,6 +34,7 @@ def main():
context = ServerContext.from_environ()
apply_patches(context)
check_paths(context)
load_extras(context)
load_models(context)
load_params(context)
load_platforms(context)