naveenk-ai commited on
Commit
918c36e
1 Parent(s): 5bceb4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import gradio as gr
7
  import langid
8
  import ipywidgets as widgets
9
  from IPython.display import Audio
10
- from openvoice.api import BaseSpeakerTTS, ToneColorConverter, OpenVoiceBaseClass
11
- import openvoice.se_extractor as se_extractor
12
  import nncf
13
  import subprocess
14
 
@@ -33,6 +33,9 @@ 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
  packages = [
37
  "librosa>=0.8.1",
38
  "wavmark>=0.0.3",
 
7
  import langid
8
  import ipywidgets as widgets
9
  from IPython.display import Audio
10
+ # from openvoice.api import BaseSpeakerTTS, ToneColorConverter, OpenVoiceBaseClass
11
+ # import openvoice.se_extractor as se_extractor
12
  import nncf
13
  import subprocess
14
 
 
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
+ from openvoice.api import BaseSpeakerTTS, ToneColorConverter, OpenVoiceBaseClass
37
+ import openvoice.se_extractor as se_extractor
38
+
39
  packages = [
40
  "librosa>=0.8.1",
41
  "wavmark>=0.0.3",