Mahiruoshi commited on
Commit
b1a29ae
1 Parent(s): 853d005

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,8 +119,8 @@ def extrac(text):
119
  return final_list
120
  def infer(language,text,speaker_id, n_scale= 0.667,n_scale_w = 0.8, l_scale = 1 ):
121
  speaker_id = int(selection(speaker_id))
122
- a = ['【','[','(','(','']
123
- b = ['】'']',')',')']
124
  for i in a:
125
  text = textt.replace(i,'<')
126
  for i in b:
 
119
  return final_list
120
  def infer(language,text,speaker_id, n_scale= 0.667,n_scale_w = 0.8, l_scale = 1 ):
121
  speaker_id = int(selection(speaker_id))
122
+ a = ['【','[','(','(']
123
+ b = ['】',']',')',')']
124
  for i in a:
125
  text = textt.replace(i,'<')
126
  for i in b: