naveenk-ai commited on
Commit
dee72a4
·
verified ·
1 Parent(s): a1a6155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -33,6 +33,21 @@ sys.path.append(str(repo_dir))
33
  # %pip install -q "librosa>=0.8.1" "wavmark>=0.0.3" "faster-whisper>=0.9.0" "pydub>=0.25.1" "whisper-timestamped>=1.14.2" "tqdm" "inflect>=7.0.0" "eng_to_ipa>=0.0.2" "pypinyin>=0.50.0" \
34
  # "cn2an>=0.5.22" "jieba>=0.42.1" "langid>=1.1.6" "gradio>=4.15" "ipywebrtc" "anyascii" "openvino>=2023.3" "torch>=2.1" "nncf>=2.11.0"
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  core = ov.Core()
37
 
38
  CKPT_BASE_PATH = "checkpoints"
 
33
  # %pip install -q "librosa>=0.8.1" "wavmark>=0.0.3" "faster-whisper>=0.9.0" "pydub>=0.25.1" "whisper-timestamped>=1.14.2" "tqdm" "inflect>=7.0.0" "eng_to_ipa>=0.0.2" "pypinyin>=0.50.0" \
34
  # "cn2an>=0.5.22" "jieba>=0.42.1" "langid>=1.1.6" "gradio>=4.15" "ipywebrtc" "anyascii" "openvino>=2023.3" "torch>=2.1" "nncf>=2.11.0"
35
 
36
+ packages = [
37
+ "librosa>=0.8.1",
38
+ "wavmark>=0.0.3",
39
+ "faster-whisper>=0.9.0",
40
+ "pydub>=0.25.1",
41
+ "whisper-timestamped>=1.14.2",
42
+ "tqdm",
43
+ "inflect>=7.0.0",
44
+ "eng_to_ipa>=0.0.2",
45
+ "pypinyin>=0.50.0",
46
+ "ipywidgets"
47
+ ]
48
+
49
+ subprocess.run(["pip", "install"] + packages, check=True)
50
+
51
  core = ov.Core()
52
 
53
  CKPT_BASE_PATH = "checkpoints"