enasyazzs commited on
Commit
2f470a4
·
verified ·
1 Parent(s): 44e3456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from transformers import pipeline
8
  model_path = ("../.venv/Modal/models--facebook--nllb-200-distilled-600M/snapshots"
9
  "/f8d333a098d19b4fd9a8b18f94170487ad3f821d")
10
 
11
- text_translator = pipeline("translation", model="facebook--nllb-200-distilled-600M",
12
  torch_dtype=torch.bfloat16)
13
 
14
  # text_translator = pipeline("translation", model=model_path,
 
8
  model_path = ("../.venv/Modal/models--facebook--nllb-200-distilled-600M/snapshots"
9
  "/f8d333a098d19b4fd9a8b18f94170487ad3f821d")
10
 
11
+ text_translator = pipeline("translation", model="facebook/nllb-200-distilled-600M",
12
  torch_dtype=torch.bfloat16)
13
 
14
  # text_translator = pipeline("translation", model=model_path,