Mahiruoshi
commited on
Commit
•
cfdd268
1
Parent(s):
b1a29ae
Update app.py
Browse files
app.py
CHANGED
@@ -122,9 +122,9 @@ def infer(language,text,speaker_id, n_scale= 0.667,n_scale_w = 0.8, l_scale = 1
|
|
122 |
a = ['【','[','(','(']
|
123 |
b = ['】',']',')',')']
|
124 |
for i in a:
|
125 |
-
text =
|
126 |
for i in b:
|
127 |
-
text =
|
128 |
final_list = extrac(text.replace('“','').replace('”','').replace(''))
|
129 |
audio_fin = []
|
130 |
c = 0
|
|
|
122 |
a = ['【','[','(','(']
|
123 |
b = ['】',']',')',')']
|
124 |
for i in a:
|
125 |
+
text = text.replace(i,'<')
|
126 |
for i in b:
|
127 |
+
text = text.replace(i,'>')
|
128 |
final_list = extrac(text.replace('“','').replace('”','').replace(''))
|
129 |
audio_fin = []
|
130 |
c = 0
|