Skip to content

Commit

Permalink
fix(server): address should be a cli argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Feb 3, 2023
1 parent 3e24dc0 commit 3c74b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlp_service/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def add_services(server: grpc.Server):


@app.command()
def main(address: str = "127.0.0.1:50051"):
def main(address: str = typer.Argument("127.0.0.1:50051")):
"""Main entry point for the server."""

arg_services.serve(
Expand Down

0 comments on commit 3c74b56

Please sign in to comment.