mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-17 23:46:03 +00:00
bugfix
This commit is contained in:
parent
ef30c707d6
commit
2c565e8696
@ -51,6 +51,7 @@ class GPT4AllAPI():
|
||||
|
||||
if self.config["backend"] is None:
|
||||
self.backend = "gpt4all"
|
||||
self.backend = self.load_backend(self.BACKENDS_LIST[self.config["backend"]])
|
||||
else:
|
||||
try:
|
||||
self.backend = self.load_backend(self.BACKENDS_LIST[self.config["backend"]])
|
||||
@ -59,9 +60,9 @@ class GPT4AllAPI():
|
||||
print("Chatbot created successfully")
|
||||
|
||||
except Exception:
|
||||
self.config["backend"] = None
|
||||
self.config["backend"] = "gpt4all"
|
||||
self.backend = self.load_backend(self.BACKENDS_LIST[self.config["backend"]])
|
||||
self.config["model"] = None
|
||||
self.backend = "gpt4all"
|
||||
print("No Models found, please select a backend and download a model for this tool to work")
|
||||
|
||||
# generation status
|
||||
|
@ -11,7 +11,7 @@
|
||||
<input
|
||||
type="radio"
|
||||
:checked="selected"
|
||||
:disabled="!isInstalled" <!-- Disable radio button if not installed -->
|
||||
:disabled="!isInstalled"
|
||||
@change="handleSelection"
|
||||
/>
|
||||
{{ title }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user