mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix loadmodelsettings
This commit is contained in:
@@ -1007,7 +1007,7 @@ def get_hidden_size_from_model(model):
|
|||||||
#==================================================================#
|
#==================================================================#
|
||||||
def loadmodelsettings():
|
def loadmodelsettings():
|
||||||
try:
|
try:
|
||||||
js = json.loads(str(model_config).partition(' ')[2])
|
js = json.loads(str(model.model_config).partition(' ')[2])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user