Datasets:

ArXiv:
Elron commited on
Commit
dbed934
1 Parent(s): 9222c14

Upload logging_utils.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. logging_utils.py +1 -1
logging_utils.py CHANGED
@@ -40,7 +40,7 @@ class SizeLimitedFormatter(logging.Formatter):
40
  if len(original_message) > max_size:
41
  return (
42
  original_message[:max_size]
43
- + f"...\n(Message is too long > {max_size}. Can be set thorugh unitxt.settings.max_log_message_size or UNITXT_MAX_LOG_MESSAGE_SIZE environment variable.)"
44
  )
45
  return original_message
46
 
 
40
  if len(original_message) > max_size:
41
  return (
42
  original_message[:max_size]
43
+ + f"...\n(Message is too long > {max_size}. Can be set through unitxt.settings.max_log_message_size or UNITXT_MAX_LOG_MESSAGE_SIZE environment variable.)"
44
  )
45
  return original_message
46