akras14/speech-to-text

Can anyone tell me what is the reason of this issue, please.

makaraduman opened this issue · 0 comments

I am a beginner and could not find anything on google. WAV docs are in Turkish. I don't know if it is related. Might be
Thank you for your time.
Ali

`Traceback (most recent call last):
File "fast.py", line 28, in
all_text = pool.map(transcribe, enumerate(files))
File "C:\Users\ASUS-25\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Users\ASUS-25\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\pool.py", line 768, in get
raise self.value
File "C:\Users\ASUS-25\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\ASUS-25\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "fast.py", line 21, in transcribe
text = r.recognize_google_cloud(audio, credentials_json=GOOGLE_CLOUD_SPEECH_CREDENTIALS)
File "C:\Users\ASUS-25\AppData\Local\Programs\Python\Python38-32\lib\site-packages\speech_recognition_init
.py", line 937, in recognize_google_cloud
if "results" not in response or len(response["results"]) == 0: raise UnknownValueError()
speech_recognition.UnknownValueError

C:\Users\ASUS-25\Google Drive\Work\speech-to-text-master>`