Harveenchadha commited on
Commit
d6363d7
1 Parent(s): 69e8afe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -7,22 +7,23 @@ os.system('pip install -e .')
7
  os.chdir('tts_infer')
8
  os.system('mkdir translit_models')
9
  os.chdir('translit_models')
10
- os.system('wget https://storage.googleapis.com/vakyaansh-open-models/translit_models/default_lineup.json')
11
  os.system('mkdir hindi')
12
  os.chdir('hindi')
13
- os.system('wget https://storage.googleapis.com/vakyaansh-open-models/translit_models/hindi/hindi_transliteration.zip')
14
  os.system('unzip hindi_transliteration')
15
 
16
- os.system('wget https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/glow.zip')
17
  os.system('unzip glow.zip')
18
 
19
- os.system('wget https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/hifi.zip')
20
  os.system('unzip hifi.zip')
21
-
22
  os.system('rm glow.zip')
23
  os.system('rm hifi.zip')
24
 
25
- os.chdir('/content/vakyansh-tts/')
 
26
 
27
  from tts_infer.tts import TextToMel, MelToWav
28
  from tts_infer.transliterate import XlitEngine
 
7
  os.chdir('tts_infer')
8
  os.system('mkdir translit_models')
9
  os.chdir('translit_models')
10
+ os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translit_models/default_lineup.json')
11
  os.system('mkdir hindi')
12
  os.chdir('hindi')
13
+ os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translit_models/hindi/hindi_transliteration.zip')
14
  os.system('unzip hindi_transliteration')
15
 
16
+ os.system('wget -q https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/glow.zip')
17
  os.system('unzip glow.zip')
18
 
19
+ os.system('wget -q https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/hifi.zip')
20
  os.system('unzip hifi.zip')
21
+ os.system('pwd')
22
  os.system('rm glow.zip')
23
  os.system('rm hifi.zip')
24
 
25
+
26
+ os.chdir('/home/usr')
27
 
28
  from tts_infer.tts import TextToMel, MelToWav
29
  from tts_infer.transliterate import XlitEngine