mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
Add black formatting (#571)
This commit is contained in:
parent
f5f77b3908
commit
c498e60949
66 changed files with 2556 additions and 1384 deletions
|
|
@ -1,14 +1,13 @@
|
|||
from buzz.model_loader import TranscriptionModel, ModelDownloader
|
||||
|
||||
|
||||
|
||||
def get_model_path(transcription_model: TranscriptionModel) -> str:
|
||||
path = transcription_model.get_local_model_path()
|
||||
if path is not None:
|
||||
return path
|
||||
|
||||
model_loader = ModelDownloader(model=transcription_model)
|
||||
model_path = ''
|
||||
model_path = ""
|
||||
|
||||
def on_load_model(path: str):
|
||||
nonlocal model_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue