naveenk-ai commited on
Commit
ff817a8
·
verified ·
1 Parent(s): 7c9c787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,11 +10,13 @@ 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
 
14
  # Clone the repo and set up the environment
15
  repo_dir = Path("OpenVoice")
16
  if not repo_dir.exists():
17
- !git clone https://github.com/myshell-ai/OpenVoice
18
  orig_english_path = Path("OpenVoice/openvoice/text/_orig_english.py")
19
  english_path = Path("OpenVoice/openvoice/text/english.py")
20
 
 
10
  from openvoice.api import BaseSpeakerTTS, ToneColorConverter, OpenVoiceBaseClass
11
  import openvoice.se_extractor as se_extractor
12
  import nncf
13
+ import subprocess
14
+
15
 
16
  # Clone the repo and set up the environment
17
  repo_dir = Path("OpenVoice")
18
  if not repo_dir.exists():
19
+ subprocess.run(["git", "clone", "https://github.com/myshell-ai/OpenVoice"])
20
  orig_english_path = Path("OpenVoice/openvoice/text/_orig_english.py")
21
  english_path = Path("OpenVoice/openvoice/text/english.py")
22