ASG Models commited on
Commit
5cf26a3
·
verified ·
1 Parent(s): 9ce4592

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -196,7 +196,7 @@ def clean_text(text):
196
 
197
  def text_to_speech(text):
198
 
199
- response = dash(text)
200
  pad_text=''
201
  k=0
202
  for chunk in response:
@@ -214,7 +214,7 @@ def text_to_speech(text):
214
  yield modelspeech(pad_text)
215
  # for stream_wav in generate_audio(pad_text):
216
  # yield stream_wav
217
- def dash(text,is_state=False):
218
 
219
  response=get_answer_ai(text)
220
  txt=' '
 
196
 
197
  def text_to_speech(text):
198
 
199
+ response = dash(text,False)
200
  pad_text=''
201
  k=0
202
  for chunk in response:
 
214
  yield modelspeech(pad_text)
215
  # for stream_wav in generate_audio(pad_text):
216
  # yield stream_wav
217
+ def dash(text,is_state=True):
218
 
219
  response=get_answer_ai(text)
220
  txt=' '