mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
fixed settings bug
This commit is contained in:
parent
5eebffab04
commit
2e38b3b31d
2
app.py
2
app.py
@ -137,7 +137,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
|
||||
|
||||
def list_backends(self):
|
||||
backends_dir = Path('./pyGpt4All/backends') # replace with the actual path to the models folder
|
||||
backends = [f.stem for f in backends_dir.glob('*.py') if f.name!="backend" and f.stem!="__init__"]
|
||||
backends = [f.stem for f in backends_dir.glob('*.py') if f.stem!="backend" and f.stem!="__init__"]
|
||||
return jsonify(backends)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user