ASG Models commited on
Commit
2e90130
·
verified ·
1 Parent(s): 5808bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def text_to_speech(text):
110
  k=0
111
  for chunk in response:
112
 
113
- pad_text+=str(clean_text(chunk))
114
 
115
  if pad_text!='' and len(pad_text)>10:
116
  out=pad_text
 
110
  k=0
111
  for chunk in response:
112
 
113
+ pad_text+=str(clean_text(chunk.text))
114
 
115
  if pad_text!='' and len(pad_text)>10:
116
  out=pad_text