Skip to content

Commit 4c09f46

Browse files
author
Ben Plowman
committed
Add better project root path
1 parent 956c134 commit 4c09f46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyparseface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from concurrent.futures import ThreadPoolExecutor
88

9-
PROJECT_ROOT = os.getcwd()
9+
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
1010

1111
runfiles_path = os.path.join(PROJECT_ROOT, 'models', 'syntaxnet', 'bazel-bin', 'syntaxnet', 'parser_eval.runfiles')
1212
tensorflow_path = os.path.join(PROJECT_ROOT, 'models', 'syntaxnet', 'bazel-bin', 'syntaxnet', 'parser_eval.runfiles',

0 commit comments

Comments
 (0)