Skip to content

Commit

Permalink
fix reload
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jul 4, 2024
1 parent 0222ed0 commit 79f7e78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wren-ai-service/src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ def health():
host=server_host,
port=server_port,
reload=should_reload,
reload_includes=["src/**/*.py", ".env.dev"],
reload_excludes=[
"./demo/*.py"
], # TODO: add eval folder when evaluation system is ready
workers=1,
loop="uvloop",
http="httptools",
Expand Down

0 comments on commit 79f7e78

Please sign in to comment.