Fix accidental parameters overwrite

This commit is contained in:
Henk
2023-07-15 19:35:40 +02:00
parent c43d60772b
commit 71b6e8d6d4
3 changed files with 3 additions and 1 deletions

BIN
aria2c.exe Normal file

Binary file not shown.

View File

@@ -26,7 +26,7 @@ class model_backend(HFTorchInferenceModel):
return
def get_requested_parameters(self, model_name, model_path, menu_path, parameters = {}):
requested_parameters = super().get_requested_parameters(model_name, model_path, menu_path, parameters = {})
requested_parameters = super().get_requested_parameters(model_name, model_path, menu_path, parameters)
dependency_exists = importlib.util.find_spec("bitsandbytes")
if dependency_exists:
requested_parameters.append({

2
vscode.cmd Normal file
View File

@@ -0,0 +1,2 @@
@echo off
commandline "C:\Program Files\Microsoft VS Code\code" .