mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-17 20:20:45 +01:00
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):
|
if(modpath):
|
||||||
# Save directory to vars
|
# 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
|
# Load Model
|
||||||
#==================================================================#
|
#==================================================================#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user