DD0101 commited on
Commit
4ea20e3
·
verified ·
1 Parent(s): a159bf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -1,4 +1,14 @@
1
  import os
 
 
 
 
 
 
 
 
 
 
2
  import matplotlib.pyplot as plt
3
 
4
  import os
@@ -21,17 +31,6 @@ from scipy.io.wavfile import write
21
  import streamlit as st
22
 
23
 
24
-
25
- os.system('cd monotonic_align')
26
- os.system('mkdir monotonic_align')
27
- os.system('python setup.py build_ext --inplace')
28
- os.system('cd ..')
29
-
30
- os.system("gdown 'https://drive.google.com/uc?id=1q86w74Ygw2hNzYP9cWkeClGT5X25PvBT'")
31
-
32
-
33
-
34
-
35
  def get_text(text, hps):
36
  text_norm = text_to_sequence(text, hps.data.text_cleaners)
37
  if hps.data.add_blank:
 
1
  import os
2
+
3
+ os.system('cd monotonic_align')
4
+ os.system('mkdir monotonic_align')
5
+ os.system('python setup.py build_ext --inplace')
6
+ os.system('cd ..')
7
+
8
+
9
+ os.system("gdown 'https://drive.google.com/uc?id=1q86w74Ygw2hNzYP9cWkeClGT5X25PvBT'")
10
+
11
+
12
  import matplotlib.pyplot as plt
13
 
14
  import os
 
31
  import streamlit as st
32
 
33
 
 
 
 
 
 
 
 
 
 
 
 
34
  def get_text(text, hps):
35
  text_norm = text_to_sequence(text, hps.data.text_cleaners)
36
  if hps.data.add_blank: