Add black formatting (#571)

This commit is contained in:
Chidi Williams 2023-08-18 23:32:18 +01:00 committed by GitHub
commit c498e60949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 2556 additions and 1384 deletions

View file

@ -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