Commit ·
dd839c8
1
Parent(s): 79254b8
......
Browse files
app.py
CHANGED
|
@@ -412,7 +412,8 @@ class FileProcessor:
|
|
| 412 |
@staticmethod
|
| 413 |
def _perform_asr_transcription(asr_pipeline_ref, audio_data_np, filename_for_log):
|
| 414 |
gaia_logger.info(f"ASR: Starting transcription for {filename_for_log} in thread.")
|
| 415 |
-
|
|
|
|
| 416 |
|
| 417 |
|
| 418 |
@staticmethod
|
|
|
|
| 412 |
@staticmethod
|
| 413 |
def _perform_asr_transcription(asr_pipeline_ref, audio_data_np, filename_for_log):
|
| 414 |
gaia_logger.info(f"ASR: Starting transcription for {filename_for_log} in thread.")
|
| 415 |
+
|
| 416 |
+
return asr_pipeline_ref(audio_data_np, chunk_length_s=30, return_timestamps=False, generate_kwargs={"language": "en"})
|
| 417 |
|
| 418 |
|
| 419 |
@staticmethod
|