mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Changed SP to a dropdown list instead of a full menu
This commit is contained in:
@@ -154,7 +154,7 @@ def getspfiles(model_dimension: int):
|
||||
for file in listdir("softprompts"):
|
||||
if not file.endswith(".zip"):
|
||||
continue
|
||||
z, version, shape, fortran_order, dtype = checksp(file, model_dimension)
|
||||
z, version, shape, fortran_order, dtype = checksp("./softprompts/"+file, model_dimension)
|
||||
if z == 1:
|
||||
print(f"Browser SP loading error: {file} is malformed or not a soft prompt ZIP file.")
|
||||
continue
|
||||
|
Reference in New Issue
Block a user