Replies: 6 comments
-
>>> othiele |
Beta Was this translation helpful? Give feedback.
-
>>> Toaster1337 |
Beta Was this translation helpful? Give feedback.
-
>>> othiele |
Beta Was this translation helpful? Give feedback.
-
>>> Toaster1337 |
Beta Was this translation helpful? Give feedback.
-
>>> othiele |
Beta Was this translation helpful? Give feedback.
-
>>> Toaster1337 |
Beta Was this translation helpful? Give feedback.
-
>>> Toaster1337
[December 8, 2020, 2:09pm]
I'm record and save it to an audio variable and got this error:
return _impl.SpeechToText(aCtx, aBuffer)
ValueError: invalid literal for int() with base 10: b'# slash x06 slash x0e slash x0b slash x92 slash n0 slash x11 slash xac slash x18 slash xc2 slash x1b slash x05 slash x1c slash x87 slash x1d slash xd1 slash x18 slash xd0 slash x12v slash x07 slash xc6 slash xf9 slash xf1 slash xf0 slash x8c slash xe7[ slash xe5 slash x12 slash xe7$ slash xe5 slash x90 slash xe3 slash xe7 slash x14 slash xef slash xdf slash xf2 slash xbe slash xf0 slash xbb slash xefy slash xeb slash x93 slash xe49 slash xe0 slash x05 slash xde slash xd6 slash xd9
What do it means and how can i fix it?
def run(self, audio): slash
slash # audio = BytesIO(audio) slash
result = deepspeechModel.stt(audio_buffer=audio) slash
return result
[This is an archived TTS discussion thread from discourse.mozilla.org/t/python-valueerror-invalid-literal-for-int-with-base-10]
Beta Was this translation helpful? Give feedback.
All reactions