Signal to frontend that files are ready
from pathlib import Path
import sys
from typing import List, Tuple
-from elpis.engines.common.objects.transcription import Transcription as BaseTranscription
-from elpis.engines.hftransformers.objects.model import FINISHED, UNFINISHED, HFTransformersModel
import soundfile as sf
import torch
@@ -28,8 +26,8 @@ STAGES = [
SAVING
]
-# FINISHED = 'transcribed'
-# UNFINISHED = 'transcribing'
+FINISHED = 'transcribed'
+UNFINISHED = 'transcribing'
class HFTransformersTranscription(BaseTranscription):
