delete transcript after use.

#1
by arunim1 - opened
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -119,6 +119,8 @@ class Transcriber:
119
  for u in transcript.utterances
120
  ]
121
 
 
 
122
  cache_data = {
123
  "hash": self._get_file_hash(audio_path),
124
  "utterances": [
 
119
  for u in transcript.utterances
120
  ]
121
 
122
+ transcript.delete_by_id(transcript.id)
123
+
124
  cache_data = {
125
  "hash": self._get_file_hash(audio_path),
126
  "utterances": [