Spaces:
Configuration error
Configuration error
fix import bug
Browse files23 unmodified lines2425262728293023 unmodified linesworking_dir = os.getcwd()print(f"[INFO] 当前工作目录为:{working_dir}")# 添加第三方库路径到 sys.path(third_party)third_party_path = os.path.join(current_dir, "third_party")if os.path.exists(third_party_path):sys.path.insert(0, third_party_path)print(f"[INFO] 已添加第三方库路径到 sys.path:{third_party_path}")23 unmodified lines2425262728293023 unmodified linesworking_dir = os.getcwd()print(f"[INFO] 当前工作目录为:{working_dir}")# 添加第三方库路径到 sys.path(third_party)third_party_path = os.path.join(current_dir, "src", "third_party")if os.path.exists(third_party_path):sys.path.insert(0, third_party_path)print(f"[INFO] 已添加第三方库路径到 sys.path:{third_party_path}")
app.py+1-1