This commit is contained in:
saloui 2023-05-14 21:18:19 +02:00
commit 18464cdb03
2 changed files with 3 additions and 1 deletions

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:")

View File

@ -110,6 +110,7 @@ if ping -q -c 1 google.com >/dev/null 2>&1; then
else
echo "is created"
fi
fi
# Activate the virtual environment