mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Custom Paths from Menu structure fixed
This commit is contained in:
@@ -31,11 +31,6 @@ class model_backend(InferenceModel):
|
||||
return model_name == "OAI" or model_name == "GooseAI"
|
||||
|
||||
def get_requested_parameters(self, model_name, model_path, menu_path):
|
||||
try:
|
||||
print(self.source)
|
||||
except:
|
||||
print(vars(self))
|
||||
raise
|
||||
if os.path.exists("settings/{}.model_backend.settings".format(self.source)) and 'colaburl' not in vars(self):
|
||||
with open("settings/{}.model_backend.settings".format(self.source), "r") as f:
|
||||
self.key = json.load(f)['key']
|
||||
|
Reference in New Issue
Block a user