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
51156ef
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