Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,11 @@ setattr(httpcore, 'SyncHTTPTransport', object)
|
|
10 |
|
11 |
# Initialisation du modèle de transcription
|
12 |
#transcriber = pipeline("automatic-speech-recognition", model="jonatasgrosman/wav2vec2-large-xlsr-53-arabic")
|
13 |
-
transcriber = pipeline("automatic-speech-recognition", model="tarteel-ai/whisper-base-ar-quran")
|
|
|
|
|
|
|
|
|
14 |
# Initialisation du traducteur
|
15 |
translator = Translator()
|
16 |
|
|
|
10 |
|
11 |
# Initialisation du modèle de transcription
|
12 |
#transcriber = pipeline("automatic-speech-recognition", model="jonatasgrosman/wav2vec2-large-xlsr-53-arabic")
|
13 |
+
#transcriber = pipeline("automatic-speech-recognition", model="tarteel-ai/whisper-base-ar-quran")
|
14 |
+
transcriber = pipeline("automatic-speech-recognition", model="Team-ASR-2023/wav2vec2-large-xls-r-300m-Arabic")
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
# Initialisation du traducteur
|
19 |
translator = Translator()
|
20 |
|