fix hr agent

This commit is contained in:
Adil Hafeez 2024-10-18 19:19:44 -07:00
parent b037c603cd
commit baa84eb035
12 changed files with 212 additions and 2904 deletions

View file

@ -47,7 +47,16 @@ def start_server():
"Starting model server - loading some awesomeness, this may take some time :)"
)
process = subprocess.Popen(
["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "51000"],
[
"python",
"-m",
"uvicorn",
"app.main:app",
"--host",
"0.0.0.0",
"--port",
"51000",
],
start_new_session=True,
bufsize=1,
universal_newlines=True,