oza75 commited on
Commit
74a0c61
·
verified ·
1 Parent(s): 21a09fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ else:
21
  logger.info("Using CPU for inference.")
22
 
23
  # Load the translation pipeline with the specified model and detected device
24
- # model_checkpoint = "oza75/bm-nllb-1.3B"
25
- model_checkpoint = "oza75/nllb-600M-mt-french-bambara"
26
  translator = pipeline("translation", model=model_checkpoint, device=device, max_length=512)
27
  logger.info("Translation pipeline initialized successfully.")
28
 
 
21
  logger.info("Using CPU for inference.")
22
 
23
  # Load the translation pipeline with the specified model and detected device
24
+ model_checkpoint = "oza75/bm-nllb-1.3B"
25
+ # model_checkpoint = "oza75/nllb-600M-mt-french-bambara"
26
  translator = pipeline("translation", model=model_checkpoint, device=device, max_length=512)
27
  logger.info("Translation pipeline initialized successfully.")
28