Files
kingston 51932b1cd7 Add Transcribe cog
Voice messages become text via the local whisper-server, with optional
translation through nllb-server. English uses Whisper's own translate task so
the common case needs no second model; other targets transcribe first and
translate after, and skip translation when Whisper's language confidence is
too low to trust.
2026-11-02 15:44:47 -06:00

17 lines
391 B
Python

"""Package for Transcribe cog."""
import json
from pathlib import Path
from redbot.core.bot import Red
from .transcribe import Transcribe
with Path(__file__).parent.joinpath("info.json").open() as fp:
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
async def setup(bot: Red) -> None:
"""Load Transcribe cog."""
await bot.add_cog(Transcribe(bot))