Update infer-web.py (#864)
fix ModuleNotFoundError: No module named 'config' fix NameError: name 'sys' is not defined
This commit is contained in:
parent
98b2e752f2
commit
78b8bfe890
@ -1,5 +1,8 @@
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
import sys
|
||||||
|
now_dir = os.getcwd()
|
||||||
|
sys.path.append(now_dir)
|
||||||
import traceback, pdb
|
import traceback, pdb
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user