1
0
mirror of synced 2024-11-30 18:24:32 +01:00

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

View File

@ -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