sentence-embedding
copied
Set log level to error
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
@ -34,6 +34,8 @@ from transformers import logging as t_logging
log = logging.getLogger('run_op')
warnings.filterwarnings('ignore')
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
log.setLevel(logging.ERROR)
t_logging.set_verbosity_error()