From 9342071f9c836644c7c7f292a9e6d0baad4a6b43 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 16 Mar 2024 22:19:04 +0800 Subject: [PATCH] don't print url for localhost if remote tunnel --- koboldcpp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index 9d117a3fa..089bb49c0 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3003,8 +3003,9 @@ def main(launch_args,start_server=True): if start_server: if args.remotetunnel: setuptunnel() - # Flush stdout for previous win32 issue so the client can see output. - print(f"======\nPlease connect to custom endpoint at {epurl}", flush=True) + else: + # Flush stdout for previous win32 issue so the client can see output. + print(f"======\nPlease connect to custom endpoint at {epurl}", flush=True) asyncio.run(RunServerMultiThreaded(args.host, args.port, embedded_kailite, embedded_kcpp_docs)) else: # Flush stdout for previous win32 issue so the client can see output.