diff --git a/src/SearchGPTService.py b/src/SearchGPTService.py index 9f402aa..9c74f3a 100644 --- a/src/SearchGPTService.py +++ b/src/SearchGPTService.py @@ -27,7 +27,7 @@ def overide_config_by_query_string(self, ui_overriden_config): if ui_overriden_config is None: return for key, value in ui_overriden_config.items(): - if value is not None: + if value is not None and value != '': # query_string is flattened (one level) while config.yaml is nested (two+ levels) # Any better way to handle this? if key == 'bing_search_subscription_key': diff --git a/src/website/templates/base.html b/src/website/templates/base.html index c020805..b1e1bec 100644 --- a/src/website/templates/base.html +++ b/src/website/templates/base.html @@ -26,6 +26,18 @@