Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
aadnk/whisper-webui
Times0
/
whisper-webui
like
0
Runtime error
App
Files
Files
Community
70d1342
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