OuroborosM commited on
Commit
11bb6c0
·
1 Parent(s): f93be97
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1377,7 +1377,8 @@ last_answer = ""
1377
  def SingleTalk(WavFile, history5):
1378
  global last_answer
1379
  global Filename_Chatbot
1380
- ConvertText = speech_to_text(WavFile)
 
1381
  history5 = history5 + [(ConvertText, None)]
1382
  yield [None, None, history5]
1383
  message = ConvertText
 
1377
  def SingleTalk(WavFile, history5):
1378
  global last_answer
1379
  global Filename_Chatbot
1380
+ ConvertText = speech_to_text_loc(WavFile)
1381
+ # ConvertText = speech_to_text(WavFile)
1382
  history5 = history5 + [(ConvertText, None)]
1383
  yield [None, None, history5]
1384
  message = ConvertText