mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fixed missing param
This commit is contained in:
parent
ed8b881c68
commit
076e61effc
1 changed files with 2 additions and 2 deletions
|
@ -4685,7 +4685,7 @@ def setuptunnel(global_memory, has_sd):
|
||||||
found = re.findall(pattern, line)
|
found = re.findall(pattern, line)
|
||||||
for x in found:
|
for x in found:
|
||||||
tunneloutput = x
|
tunneloutput = x
|
||||||
if global_memory["load_complete"]:
|
if global_memory and global_memory["load_complete"]:
|
||||||
print(f"Your remote Kobold API can be found at {tunneloutput}/api")
|
print(f"Your remote Kobold API can be found at {tunneloutput}/api")
|
||||||
print(f"Your remote OpenAI Compatible API can be found at {tunneloutput}/v1")
|
print(f"Your remote OpenAI Compatible API can be found at {tunneloutput}/v1")
|
||||||
if has_sd:
|
if has_sd:
|
||||||
|
@ -5012,7 +5012,7 @@ def main(launch_args):
|
||||||
|
|
||||||
if not args.admin: #run in single process mode
|
if not args.admin: #run in single process mode
|
||||||
if args.remotetunnel and not args.prompt and not args.benchmark:
|
if args.remotetunnel and not args.prompt and not args.benchmark:
|
||||||
setuptunnel(None, True if args.sdmodel else False)
|
setuptunnel(global_memory, True if args.sdmodel else False)
|
||||||
kcpp_main_process(args,global_memory,using_gui_launcher)
|
kcpp_main_process(args,global_memory,using_gui_launcher)
|
||||||
if global_memory["input_to_exit"]:
|
if global_memory["input_to_exit"]:
|
||||||
print("===")
|
print("===")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue