arunim1 commited on
Commit
1691d00
·
verified ·
1 Parent(s): 95477a3

delete transcript after use.

Browse files

delete transcript after use for privacy reasons.

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": [