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:
saloui 2023-04-27 16:53:13 +02:00 committed by ParisNeo
parent fb946af842
commit 6ae8822b24

5
app.py
View File

@ -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