faster-whisper-webui-v2 / src /hooks /progressListener.py
aadnk's picture
Adding support for faster_whisper
295de00
from typing import Union
class ProgressListener:
def on_progress(self, current: Union[int, float], total: Union[int, float]):
self.total = total
def on_finished(self):
pass