Hi André,
Thank you for your script! I am facing the following error code when reaching the end of the speech-to-text transcription. As a result, the generation of the Transcript.txt file fails...any idea how to fix this?
Exception in thread Thread-4 (transcribe):
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\jtm\Whisper2Summarize\w2sgui.py", line 82, in transcribe
with open(self.audiofilename+"_Transcript.txt", "w",encoding='utf-8') as text_file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'GMT20230912-130132_Recording_1920x1200.mp3_Transcript.txt'
Very best,
Jean-Thomas