mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
Main: Add await to an async function
load_loras wasn't properly updated. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
2
main.py
2
main.py
@@ -112,7 +112,7 @@ async def entrypoint(args: Optional[dict] = None):
|
||||
lora_config = config.lora_config()
|
||||
if lora_config.get("loras"):
|
||||
lora_dir = pathlib.Path(unwrap(lora_config.get("lora_dir"), "loras"))
|
||||
model.container.load_loras(lora_dir.resolve(), **lora_config)
|
||||
await model.container.load_loras(lora_dir.resolve(), **lora_config)
|
||||
|
||||
await start_api(host, port)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user