Spaces:
Runtime error
Runtime error
Commit
·
11bb6c0
1
Parent(s):
f93be97
stt
Browse files
app.py
CHANGED
@@ -1377,7 +1377,8 @@ last_answer = ""
|
|
1377 |
def SingleTalk(WavFile, history5):
|
1378 |
global last_answer
|
1379 |
global Filename_Chatbot
|
1380 |
-
ConvertText =
|
|
|
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
|