Fix Essential Code + selectfolder fix
As part of the restructuring essential code was removed that handled the --path parameter correctly. This has now been restored. Selectfolder was also updated to use its NeoCustom counterpart instead of specifying a model so that the underlying code that corrects model names is being hit again.
This commit is contained in:
parent
6a324b0e75
commit
461cd04932
10
aiserver.py
10
aiserver.py
|
@ -942,8 +942,14 @@ def general_startup():
|
|||
|
||||
if(modpath):
|
||||
# Save directory to vars
|
||||
vars.model = modpath
|
||||
|
||||
vars.model = "NeoCustom"
|
||||
vars.custmodpth = modpath
|
||||
elif args.model:
|
||||
print("Welcome to KoboldAI!\nYou have selected the following Model:", vars.model)
|
||||
if args.path:
|
||||
print("You have selected the following path for your Model :", args.path)
|
||||
vars.custmodpth = args.path;
|
||||
vars.colaburl = args.path + "/request"; # Lets just use the same parameter to keep it simple
|
||||
#==================================================================#
|
||||
# Load Model
|
||||
#==================================================================#
|
||||
|
|
Loading…
Reference in New Issue