Spaces:
Sleeping
Sleeping
colab-user commited on
Commit ·
cfa4101
1
Parent(s): 4d48604
fix merge consecutive segments & transcription
Browse files
app/services/processor.py
CHANGED
|
@@ -155,6 +155,7 @@ class Processor:
|
|
| 155 |
cls,
|
| 156 |
audio_path: Path,
|
| 157 |
model_name: str = "PhoWhisper Lora Finetuned",
|
|
|
|
| 158 |
merge_segments: bool = True,
|
| 159 |
|
| 160 |
) -> ProcessingResult:
|
|
|
|
| 155 |
cls,
|
| 156 |
audio_path: Path,
|
| 157 |
model_name: str = "PhoWhisper Lora Finetuned",
|
| 158 |
+
language="vi",
|
| 159 |
merge_segments: bool = True,
|
| 160 |
|
| 161 |
) -> ProcessingResult:
|