oza75 commited on
Commit
9f73839
1 Parent(s): e0f2f07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ from tts import BambaraTTS
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
 
20
  # Translation pipeline
21
- # translation_model = "oza75/nllb-600M-mt-french-bambara"
22
- translation_model = "oza75/nllb-1.3B-mt-french-bambara"
23
  translator = pipeline("translation", model=translation_model, max_length=512)
24
 
25
  # Text-to-Speech pipeline
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
 
20
  # Translation pipeline
21
+ translation_model = "oza75/nllb-600M-mt-french-bambara"
22
+ # translation_model = "oza75/nllb-1.3B-mt-french-bambara"
23
  translator = pipeline("translation", model=translation_model, max_length=512)
24
 
25
  # Text-to-Speech pipeline