Skip to content

Commit

Permalink
add a hint
Browse files Browse the repository at this point in the history
  • Loading branch information
AllentDan committed Nov 8, 2023
1 parent 2cdbca9 commit b4bba59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lmdeploy/serve/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ def main(model_path: str,
instance_num=instance_num,
tp=tp,
**kwargs)
print(f'HINT: Please open \033[93m\033[1mhttp://{server_name}:'
f'{server_port}\033[0m in a browser for detailed api usage!!!')
uvicorn.run(app=app, host=server_name, port=server_port, log_level='info')


Expand Down

0 comments on commit b4bba59

Please sign in to comment.