Added http request to emulate_fastapi for GET resolutions

This commit is contained in:
2024-01-13 20:19:00 +01:00
parent e72846440c
commit 4ae4557602
5 changed files with 113 additions and 162 deletions

View File

@@ -135,7 +135,11 @@ def start_server(args: argparse.Namespace) -> None:
proc = mp.Process(
target=uvicorn.run,
args=(app,),
kwargs={"host": args.host, "port": port, "log_level": "info"},
kwargs={
"host": args.host,
"port": port,
"log_level": args.log_level,
},
daemon=True,
)
proc.start()