Merge pull request #190 from tkocou/main

fix for 'update parameters' in webpage.
This commit is contained in:
Saifeddine ALOUI 2023-05-14 21:15:29 +02:00 committed by GitHub
commit 73664b2509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
app.py
View File

@ -589,7 +589,8 @@ class Gpt4AllWebUI(GPT4AllAPI):
save_config(self.config, self.config_file_path)
self.process.set_config(self.config)
self.backend = self.process.rebuild_backend()
# Fixed missing argument
self.backend = self.process.rebuild_backend(self.config)
print("==============================================")
print("Parameters changed to:")