Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
11 |
|
12 |
|
13 |
# Modèle 1 : Traduction texte Wolof -> texte anglais
|
14 |
-
model_name = "bilalfaye/nllb-200-distilled-600M-
|
15 |
translator = pipeline("translation", model=model_name, device=device)
|
16 |
|
17 |
# Modèle 2 : Transcription audio Wolof -> texte Wolof
|
|
|
11 |
|
12 |
|
13 |
# Modèle 1 : Traduction texte Wolof -> texte anglais
|
14 |
+
model_name = "bilalfaye/nllb-200-distilled-600M-wolof-english"
|
15 |
translator = pipeline("translation", model=model_name, device=device)
|
16 |
|
17 |
# Modèle 2 : Transcription audio Wolof -> texte Wolof
|