MCPcopy Create free account
hub / github.com/SevaSk/ecoute / clear_transcript_data

Method clear_transcript_data

AudioTranscriber.py:146–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 return "".join([t[0] for t in combined_transcript])
145
146 def clear_transcript_data(self):
147 self.transcript_data["You"].clear()
148 self.transcript_data["Speaker"].clear()
149
150 self.audio_sources["You"]["last_sample"] = bytes()
151 self.audio_sources["Speaker"]["last_sample"] = bytes()
152
153 self.audio_sources["You"]["new_phrase"] = True
154 self.audio_sources["Speaker"]["new_phrase"] = True

Callers 1

clear_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected