MCPcopy Index your code
hub / github.com/geekcomputers/Python / transcript_generator

Function transcript_generator

Audio_Summarizer.py:7–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def transcript_generator():
8 # Load Whisper model
9 model = whisper.load_model("base")
10
11 # Transcribe audio file
12 result = model.transcribe("audio.mp4")
13
14 # Send the transcript to the summarizer
15 provide_summarizer(result)
16
17
18def provide_summarizer(Text):

Callers 1

Calls 2

provide_summarizerFunction · 0.85
load_modelMethod · 0.45

Tested by

no test coverage detected