pipe stderr to log file

Former-commit-id: 060130a3d6b658f70aaf4f723e02b2b5ff2c3288
pull/160/head
nullonesix 2 years ago committed by GitHub
parent bea2b6e62b
commit 682afefce0

@ -14,6 +14,9 @@ from swarms.models.nougat import Nougat
from swarms.models.layoutlm_document_qa import LayoutLMDocumentQA
# from swarms.models.fuyu import Fuyu # Not working, wait until they update
import sys
log_file = open('stderr_log.txt', 'w')
sys.stderr = log_file
__all__ = [

Loading…
Cancel
Save