Self.initfp(f) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\aifc.py",Ĭhunk = Chunk(file) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\chunk.py", dio_reader = aifc.open(aiff_file, "rb") File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\aifc.py", ![]() Raise Error('file does not start with FORM id') aifc.Error: file does not start with FORM id Self.initfp(file_object) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\aifc.py", Return Aifc_read(f) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\aifc.py", dio_reader = aifc.open(self.filename_or_fileobject, "rb") File "C:\Programįiles\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\aifc.py", Raise Error('file does not start with RIFF id') wave.Error: file does not start with RIFF idĭuring handling of the above exception, another exception occurred: Self.initfp(f) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\wave.py", Return Wave_read(f) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\wave.py", dio_reader = wave.open(self.filename_or_fileobject, "rb") File "C:\Programįiles\WindowsApps\PythonSoftwareFoundation.Python.3.10_.0_圆4_qbz5n2kfra8p0\lib\wave.py", "C:\Users\schne\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\speech_recognition_ init_.py", "c:/Users/schne/Desktop/Jarvis/speech to text copy.py" Traceback (most ![]() Text = speech_engine.recognize_google(audio, language="de-DE")Ĭ:/Users/schne/AppData/Local/Microsoft/WindowsApps/python3.10.exe Text = speech_engine.recognize_google(data, language="de-DE")Īudio = speech_engine.record(micro, duration=5) The Code: import speech_recognition as sr
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |