Spaces:
Running
Running
File size: 582 Bytes
9bf1d31 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from ..base_handler import ModelHandler
class WhisperHandler(ModelHandler):
def __init__(self, model_name, model_class, quantization_type, test_text):
super().__init__(model_name, model_class, quantization_type, test_text)
def run_inference(self, model, text):
raise NotImplementedError("STT is not implemented.")
def decode_output(self, outputs):
raise NotImplementedError("STT is not implemented.")
def compare_outputs(self, original_outputs, quantized_outputs):
raise NotImplementedError("STT is not implemented.") |