Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Olivier-Truong/faster-whisper-webui-v2
Rozinamax
/
Slower-whisper
like
0
Sleeping
App
Files
Files
Community
6db3778
Slower-whisper
/
src
/
hooks
/
progressListener.py
aadnk
Adding support for faster_whisper
295de00
over 1 year ago
raw
Copy download link
history
blame
Safe
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