mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Added force_detected_language_to to ASR
This commit is contained in:
1 parent
0332708616
commit
3d1c9e4c2b
1 file changed
+3
@@ -405,6 +405,9 @@ def asr(
|
||||
logging.info(f"Transcribing file from Bazarr/ASR webhook")
|
||||
result = None
|
||||
random_name = random.choices("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", k=6)
|
||||
|
||||
if force_detected_language_to:
|
||||
language = force_detected_language_to
|
||||
|
||||
start_time = time.time()
|
||||
start_model()
|
||||
|
||||
Reference in new issue
Block a user