Spaces:
Sleeping
Sleeping
ASG Models
commited on
Commit
•
5808bd1
1
Parent(s):
9f40cfa
Update app.py
Browse files
app.py
CHANGED
@@ -105,10 +105,10 @@ def clean_text(text):
|
|
105 |
|
106 |
def text_to_speech(text):
|
107 |
|
108 |
-
|
109 |
pad_text=''
|
110 |
k=0
|
111 |
-
for chunk in
|
112 |
|
113 |
pad_text+=str(clean_text(chunk))
|
114 |
|
|
|
105 |
|
106 |
def text_to_speech(text):
|
107 |
|
108 |
+
response = get_answer_ai(text)
|
109 |
pad_text=''
|
110 |
k=0
|
111 |
+
for chunk in response:
|
112 |
|
113 |
pad_text+=str(clean_text(chunk))
|
114 |
|