squawk
squawk copied to clipboard
Automatic subtitles for DaVinci Resolve with OpenAI Whisper
Add validators def check_are_file_extensions(cls, v): if not v.startswith("."): raise ValueError(f"{v} is not a valid file extension") return v https://github.com/in03/squawk/blob/ccbf1fa425bad6fb8719cebe11501bb5664f936c/squawk/settings/regrouping_rules.py#L12 ```python from typing import Any from pydantic import ( BaseModel, BaseSettings,...
Fix typing for Punctuation rules https://github.com/in03/squawk/blob/ccbf1fa425bad6fb8719cebe11501bb5664f936c/squawk/settings/regrouping_rules.py#L10 ```python from typing import Any from pydantic import ( BaseModel, BaseSettings, Field, ValidationError, validator, ) # TODO: Fix typing for Punctuation rules # TODO:...
Switch to Whisper-CPP instead of mainline Python build. Eventual goal is to move to Rust instead of Python as the main language for Squawk.
Add global option to hide banner context_settings={"allow_extra_args": True, "ignore_unknown_options": True} ) def celery( ctx: typer.Context, celery_command: List[str] = typer.Argument(..., help="A command to pass to Celery"), ): """ Pass commands to...