whisper-webui / src /hooks /progressListener.py
Shad0ws's picture
Duplicate from aadnk/whisper-webui
446ef2b
raw
history blame contribute delete
198 Bytes
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