Quang Long commited on
Commit
5dcbcd9
·
1 Parent(s): df218d2

[DEV] update import

Browse files
Files changed (1) hide show
  1. app_tts.py +3 -0
app_tts.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import spaces
2
  import os
3
  import codecs
@@ -7,6 +8,8 @@ from cached_path import cached_path
7
  import tempfile
8
  from vinorm import TTSnorm
9
  from importlib.resources import files
 
 
10
  from f5_tts.model import DiT
11
  from f5_tts.infer.utils_infer import (
12
  preprocess_ref_audio_text,
 
1
+
2
  import spaces
3
  import os
4
  import codecs
 
8
  import tempfile
9
  from vinorm import TTSnorm
10
  from importlib.resources import files
11
+ import sys
12
+ sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
13
  from f5_tts.model import DiT
14
  from f5_tts.infer.utils_infer import (
15
  preprocess_ref_audio_text,