mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
Update config.py
This commit is contained in:
parent
6c07bf0b1d
commit
44516ab445
@ -540,7 +540,7 @@ class TypedConfig:
|
||||
entry_value = int(entry_value)
|
||||
elif entry_type == "float":
|
||||
entry_value = float(entry_value)
|
||||
elif entry_type == "str" or entry_type == "text" or entry_type == "string" or entry_type == "btn":
|
||||
elif entry_type == "str" or entry_type == "text" or entry_type == "string" or entry_type == "btn" or entry_type == "file" or entry_type == "folder":
|
||||
entry_value = str(entry_value)
|
||||
elif entry_type == "bool":
|
||||
entry_value = bool(entry_value)
|
||||
|
Loading…
Reference in New Issue
Block a user