File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4685,7 +4685,7 @@ def tunnel_reader():
4685
4685
found = re .findall (pattern , line )
4686
4686
for x in found :
4687
4687
tunneloutput = x
4688
- if global_memory ["load_complete" ]:
4688
+ if global_memory and global_memory ["load_complete" ]:
4689
4689
print (f"Your remote Kobold API can be found at { tunneloutput } /api" )
4690
4690
print (f"Your remote OpenAI Compatible API can be found at { tunneloutput } /v1" )
4691
4691
if has_sd :
@@ -5012,7 +5012,7 @@ def main(launch_args):
5012
5012
5013
5013
if not args .admin : #run in single process mode
5014
5014
if args .remotetunnel and not args .prompt and not args .benchmark :
5015
- setuptunnel (None , True if args .sdmodel else False )
5015
+ setuptunnel (global_memory , True if args .sdmodel else False )
5016
5016
kcpp_main_process (args ,global_memory ,using_gui_launcher )
5017
5017
if global_memory ["input_to_exit" ]:
5018
5018
print ("===" )
You can’t perform that action at this time.
0 commit comments