HoneyTian commited on
Commit
941850e
1 Parent(s): 5ce1fe8
Files changed (1) hide show
  1. examples/wenet/test.py +5 -0
examples/wenet/test.py CHANGED
@@ -1,7 +1,12 @@
1
  #!/usr/bin/python3
2
  # -*- coding: utf-8 -*-
3
  import argparse
 
4
  from pathlib import Path
 
 
 
 
5
 
6
  import huggingface_hub
7
  import sherpa
 
1
  #!/usr/bin/python3
2
  # -*- coding: utf-8 -*-
3
  import argparse
4
+ import os
5
  from pathlib import Path
6
+ import sys
7
+
8
+ pwd = os.path.abspath(os.path.dirname(__file__))
9
+ sys.path.append(os.path.join(pwd, "../../"))
10
 
11
  import huggingface_hub
12
  import sherpa