ahassoun commited on
Commit
1b925a6
1 Parent(s): b732a8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import subprocess
2
 
3
  # Define the local paths to the packages
4
- local_package_paths = ["./TTS", "./transformers"]
5
 
6
  # Run the pip install command for each local package
7
  for package_path in local_package_paths:
@@ -34,7 +34,7 @@ with open("characters.json", "r") as file:
34
  for item in data
35
  ]
36
 
37
- from TTS.TTS.api import TTS
38
  tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
39
 
40
  def cut_wav(input_path, max_duration):
 
1
  import subprocess
2
 
3
  # Define the local paths to the packages
4
+ local_package_paths = [./transformers"]
5
 
6
  # Run the pip install command for each local package
7
  for package_path in local_package_paths:
 
34
  for item in data
35
  ]
36
 
37
+ from TTS.api import TTS
38
  tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
39
 
40
  def cut_wav(input_path, max_duration):