From 44516ab4452f31a9b5c7b678f2baaec45e99943c Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Thu, 24 Oct 2024 12:33:18 +0200 Subject: [PATCH] Update config.py --- lollms/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lollms/config.py b/lollms/config.py index 3f16a59..178e13c 100644 --- a/lollms/config.py +++ b/lollms/config.py @@ -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) @@ -590,4 +590,4 @@ class TypedConfig: if not use_template: return self.config else: - return self.config_template \ No newline at end of file + return self.config_template