Update app.py
Browse files
app.py
CHANGED
@@ -18,10 +18,10 @@ generate_kwargs = {
|
|
18 |
"task": "transcribe"
|
19 |
}
|
20 |
# Initialize ASR pipeline
|
21 |
-
asr_whisper_large = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3",
|
22 |
generate_kwargs = generate_kwargs)
|
23 |
asr_whisper_large_turbo = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3-turbo",
|
24 |
-
|
25 |
normalizer = ArabicTextNormalizer()
|
26 |
|
27 |
|
|
|
18 |
"task": "transcribe"
|
19 |
}
|
20 |
# Initialize ASR pipeline
|
21 |
+
asr_whisper_large = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3",
|
22 |
generate_kwargs = generate_kwargs)
|
23 |
asr_whisper_large_turbo = pipeline("automatic-speech-recognition", model = "openai/whisper-large-v3-turbo",
|
24 |
+
generate_kwargs = generate_kwargs)
|
25 |
normalizer = ArabicTextNormalizer()
|
26 |
|
27 |
|