mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-24 06:36:37 +00:00
suppression of logs
Create README.md Add files via upload Rename ChatGptAll-Ui (2).ipynb to ChatGptAll-Ui.ipynb Update README.md Revert "Run GPT4All-UI on Google colab"
This commit is contained in:
parent
fb946af842
commit
6ae8822b24
5
app.py
5
app.py
@ -15,7 +15,7 @@ __copyright__ = "Copyright 2023, "
|
||||
__license__ = "Apache 2.0"
|
||||
|
||||
|
||||
|
||||
import logging
|
||||
import argparse
|
||||
import json
|
||||
import re
|
||||
@ -37,6 +37,9 @@ from pathlib import Path
|
||||
import gc
|
||||
app = Flask("GPT4All-WebUI", static_url_path="/static", static_folder="static")
|
||||
socketio = SocketIO(app)
|
||||
# Set the logging level to WARNING or higher
|
||||
logging.getLogger('socketio').setLevel(logging.WARNING)
|
||||
logging.getLogger('engineio').setLevel(logging.WARNING)
|
||||
|
||||
import time
|
||||
from pyGpt4All.config import load_config, save_config
|
||||
|
Loading…
Reference in New Issue
Block a user