Update infer-web.py (#864)

fix ModuleNotFoundError: No module named 'config'
fix NameError: name 'sys' is not defined
This commit is contained in:
Mix007 2023-07-26 11:52:51 +08:00 committed by GitHub
parent 98b2e752f2
commit 78b8bfe890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
import os
import shutil
import sys
now_dir = os.getcwd()
sys.path.append(now_dir)
import traceback, pdb
import warnings