MCPcopy Create free account
hub / github.com/SevaSk/ecoute / get_model

Function get_model

TranscriberModels.py:5–9  ·  view source on GitHub ↗
(use_api)

Source from the content-addressed store, hash-verified

3from openai import OpenAI
4
5def get_model(use_api):
6 if use_api:
7 return APIWhisperTranscriber()
8 else:
9 return FasterWhisperTranscriber()
10
11class FasterWhisperTranscriber:
12 def __init__(self):

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected