Checkout: transfer to different machine

This commit is contained in:
Izaya Orihara
2023-10-09 15:17:32 +02:00
parent d6da26607e
commit f92830facc
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class Transcriber:
json.dump(self.transcript_output, f)
# Save just the transcripts to a .txt file
transcripts = [seg['value'] for seg in self.transcript_output['segments']]
transcripts = [seg['text'] for seg in self.transcript_output['segments']]
with open(output_txt_file, 'w') as f:
f.write('\n'.join(transcripts))
except Exception as e: