Skip to content

Commit

Permalink
remmove entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying Chen committed Mar 15, 2024
1 parent dc7357b commit 358ad06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/promptflow/promptflow/_sdk/_service/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ def validate_port(port, force_start):
app.logger.setLevel(logging.INFO)
message = f"Start Prompt Flow Service on {port}, version: {get_promptflow_sdk_version()}"
app.logger.info(message)
waitress.serve(app, host="127.0.0.1", port=port, threads=PF_SERVICE_WORKER_NUM)
entry(["show-status"])
print(f"{message}. You're feel free to input CTRL+C or close the terminal to exit.")
waitress.serve(app, host="127.0.0.1", port=port, threads=PF_SERVICE_WORKER_NUM)
else:
# Start a pfs process using detach mode. It will start a new process and create a new app. So we use environment
# variable to pass the debug mode, since it will inherit parent process environment variable.
Expand Down

0 comments on commit 358ad06

Please sign in to comment.