Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

test(examples): pin a blank --default-model against the reload push

Aashish49f12349ee72
diff --git a/tests/test_example_server_limits.py b/tests/test_example_server_limits.py
index ee74d079..fab47d43 100644
--- a/tests/test_example_server_limits.py
+++ b/tests/test_example_server_limits.py
@@ -575,6 +575,8 @@ def main():
repr(started))
ok("and without --reload the flag is not pushed as a name",
start_default(["--default-model", "english"]) == "(absent)", repr(started))
+ ok("--default-model '' is the same as not passing it",
+ start_default(["--reload", "--default-model", ""]) == "(absent)", repr(started))
finally:
sys.argv = argv
if real_uvicorn is not None: