Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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,
|