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