Skip to content
Snippets Groups Projects
Commit 5851da53 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Merge branch 'dev_live_demo' into 'staging'

Minor: show accessors in status view

See merge request rhodes/model_server!62
parents 8a37b838 42cd4039
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ def show_session_status():
'status': 'running',
'models': session.describe_loaded_models(),
'paths': session.get_paths(),
'accessors': session.list_accessors(),
}
......
......@@ -2,8 +2,6 @@ import importlib
from ..base.api import app
print(f'PACKAGE NAME IS ' + __package__)
for ex in ['ilastik']:
m = importlib.import_module(f'..extensions.{ex}.router', package=__package__)
app.include_router(m.router)
......@@ -50,7 +50,6 @@ def main(args) -> None:
target=uvicorn.run,
args=(f'{args.confpath}:app',),
kwargs={
# 'app_dir': Path('..').resolve().__str__(),
'app_dir': '..',
'host': args.host,
'port': int(args.port),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment