Spaces:
Sleeping
Sleeping
fix: Update model name in EnhancedWav2Vec2CharacterASR constructor for improved performance
Browse files
src/apis/controllers/speaking_controller.py
CHANGED
|
@@ -61,7 +61,8 @@ class EnhancedWav2Vec2CharacterASR:
|
|
| 61 |
def __init__(
|
| 62 |
self,
|
| 63 |
# model_name: str = "facebook/wav2vec2-large-960h-lv60-self",
|
| 64 |
-
model_name: str = "jonatasgrosman/wav2vec2-large-xlsr-53-english",
|
|
|
|
| 65 |
onnx: bool = False,
|
| 66 |
quantized: bool = False,
|
| 67 |
):
|
|
|
|
| 61 |
def __init__(
|
| 62 |
self,
|
| 63 |
# model_name: str = "facebook/wav2vec2-large-960h-lv60-self",
|
| 64 |
+
# model_name: str = "jonatasgrosman/wav2vec2-large-xlsr-53-english",
|
| 65 |
+
model_name: str = "facebook/wav2vec2-large-robust-ft-libri-960h",
|
| 66 |
onnx: bool = False,
|
| 67 |
quantized: bool = False,
|
| 68 |
):
|