remove unnecessary prints

This commit is contained in:
Concedo 2024-05-04 23:28:21 +08:00
parent a3718c6354
commit 5ca267dc9c

View file

@ -3069,7 +3069,7 @@ def main(launch_args,start_server=True):
print(args) print(args)
# Flush stdout for win32 issue with regards to piping in terminals, # Flush stdout for win32 issue with regards to piping in terminals,
# especially before handing over to C++ context. # especially before handing over to C++ context.
print(f"==========\nLoading model: {modelname} \n[Threads: {args.threads}, BlasThreads: {args.blasthreads}, SmartContext: {args.smartcontext}, ContextShift: {not (args.noshift)}]", flush=True) print(f"==========\nLoading model: {modelname}", flush=True)
loadok = load_model(modelname) loadok = load_model(modelname)
print("Load Text Model OK: " + str(loadok)) print("Load Text Model OK: " + str(loadok))