Match the no-em-dash rule in the comments added here

This commit is contained in:
sudoeren
2026-08-27 21:40:09 +03:00
parent 90ae1690ab
commit e58f924579
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ def transcribe_detected(target, audio_path, language="", prompt="", timeout=300,
The spoken language is only knowable when the transcription model reports The spoken language is only knowable when the transcription model reports
it, and only whisper.cpp does: the hosted endpoints accept "auto" but never it, and only whisper.cpp does: the hosted endpoints accept "auto" but never
say what they heard. So detection is asked for exactly where it can be say what they heard. So detection is asked for exactly where it can be
answered the local server, in auto mode and every other run transcribes answered, the local server in auto mode, and every other run transcribes
as before and hands back an empty code. as before and hands back an empty code.
""" """
if target.provider == "local" and language == "auto": if target.provider == "local" and language == "auto":
+2 -2
View File
@@ -709,8 +709,8 @@ class Config:
"""`speech` is the two-letter code of the language that was heard, when """`speech` is the two-letter code of the language that was heard, when
the transcription model reported one. The default prompts and the the transcription model reported one. The default prompts and the
glossary rule only exist in Turkish and English, so a detected Turkish glossary rule only exist in Turkish and English, so a detected Turkish
recording gets the Turkish prompt and any other detected language or recording gets the Turkish prompt and any other detected language, or
none at all the English one, which is written not to care what none at all, the English one, which is written not to care what
language the transcript is in. Nothing else calls this with it, so the language the transcript is in. Nothing else calls this with it, so the
interface language keeps deciding everywhere the speech was not asked interface language keeps deciding everywhere the speech was not asked
about.""" about."""