mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
API: Hide the uvicorn access logs from the terminal
This commit is contained in:
parent
adb975a380
commit
470c822f44
|
|
@ -447,7 +447,7 @@ def run_server():
|
|||
|
||||
# Start server
|
||||
logging.getLogger("uvicorn.error").propagate = False
|
||||
uvicorn.run(app, host=server_addrs, port=port, ssl_certfile=ssl_certfile, ssl_keyfile=ssl_keyfile)
|
||||
uvicorn.run(app, host=server_addrs, port=port, ssl_certfile=ssl_certfile, ssl_keyfile=ssl_keyfile, access_log=False)
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
|||
Loading…
Reference in a new issue