G7 증명과 G8 clean-head 승격 준비
This commit is contained in:
parent
94c681d450
commit
5221f79e3f
52 changed files with 6876 additions and 506 deletions
|
|
@ -54,7 +54,7 @@ class FakeTranscriber:
|
|||
|
||||
def default_options(**overrides):
|
||||
options = {
|
||||
"model": "large-v3",
|
||||
"model": MODULE.DEFAULT_MODEL,
|
||||
"language": "ko",
|
||||
"sample_rate": SAMPLE_RATE,
|
||||
"channels": 1,
|
||||
|
|
@ -403,6 +403,10 @@ class CliTest(unittest.TestCase):
|
|||
with self.assertRaises(SystemExit):
|
||||
parser.parse_args(["--host", "0.0.0.0"])
|
||||
|
||||
def test_default_model_matches_the_cpu_public_runtime_contract(self) -> None:
|
||||
parser = MODULE.build_parser()
|
||||
self.assertEqual(parser.parse_args([]).model, "small")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue