HoneyTian commited on
Commit
3db02de
·
1 Parent(s): e3d5dea
examples/make_calling_media_noise_wav/step_1_make_calling_noise.py CHANGED
@@ -11,8 +11,7 @@ import tempfile
11
  import zipfile
12
 
13
  pwd = os.path.abspath(os.path.dirname(__file__))
14
- project_path = Path(os.path.join(pwd, "../../"))
15
- sys.path.append(project_path)
16
 
17
  import numpy as np
18
  from scipy.io import wavfile
 
11
  import zipfile
12
 
13
  pwd = os.path.abspath(os.path.dirname(__file__))
14
+ sys.path.append(os.path.join(pwd, "../../"))
 
15
 
16
  import numpy as np
17
  from scipy.io import wavfile
examples/make_calling_media_noise_wav/step_2_make_calling_speech.py CHANGED
@@ -14,8 +14,7 @@ import tempfile
14
  import zipfile
15
 
16
  pwd = os.path.abspath(os.path.dirname(__file__))
17
- project_path = Path(os.path.join(pwd, "../../"))
18
- sys.path.append(project_path)
19
 
20
  import numpy as np
21
  from scipy.io import wavfile
 
14
  import zipfile
15
 
16
  pwd = os.path.abspath(os.path.dirname(__file__))
17
+ sys.path.append(os.path.join(pwd, "../../"))
 
18
 
19
  import numpy as np
20
  from scipy.io import wavfile