Spaces:
Runtime error
Runtime error
delete transcript after use.
#1
by
arunim1
- opened
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": [
|