Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
aadnk
/
whisper-webui
like
363
Runtime error
App
Files
Files
Community
36
af6fd0e
whisper-webui
/
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