mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-16 14:58:52 +00:00
added string
This commit is contained in:
parent
38584e8f69
commit
2e19dcd425
@ -532,7 +532,7 @@ class TypedConfig:
|
||||
entry_value = int(entry_value)
|
||||
elif entry_type == "float":
|
||||
entry_value = float(entry_value)
|
||||
elif entry_type == "str":
|
||||
elif entry_type == "str" or entry_type == "string":
|
||||
entry_value = str(entry_value)
|
||||
elif entry_type == "bool":
|
||||
entry_value = bool(entry_value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user