bugsfixed

This commit is contained in:
Saifeddine ALOUI 2023-06-25 19:26:22 +02:00
parent a218210707
commit 577056ace8
2 changed files with 3 additions and 3 deletions

View File

@ -430,8 +430,8 @@ class LoLLMsAPPI():
tpe.start()
# generation status
self.generating=False
ASCIIColors.blue(f"Your personal data is stored here :{self.lollms_paths.personal_path}")
ASCIIColors.blue(f"Listening on :http://{self.config['host']}:{self.config['port']}")
ASCIIColors.blue(f"Your personal data is stored here :",end="")
ASCIIColors.green(f"{self.lollms_paths.personal_path}")
def rebuild_personalities(self):

2
app.py
View File

@ -54,7 +54,7 @@ log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)
app = Flask("GPT4All-WebUI", static_url_path="/static", static_folder="static")
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='gevent', ping_timeout=200, ping_interval=15)
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='gevent', ping_timeout=1200, ping_interval=4000)
app.config['SECRET_KEY'] = 'secret!'
# Set the logging level to WARNING or higher