MCPcopy Create free account
hub / github.com/codingis4noobs2/QuickDigest / transcribe_and_save

Function transcribe_and_save

app.py:169–175  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

167 return filepaths
168
169 def transcribe_and_save(file_path):
170 transcriber = aai.Transcriber()
171 transcript = transcriber.transcribe(file_path)
172 transcript_path = file_path + ".txt"
173 with open(transcript_path, "w") as f:
174 f.write(transcript.text)
175 return transcript_path
176
177 # Save extracted text to a txt file
178 def save_extracted_text_to_txt(text, filename):

Callers 1

process_documentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected